Skip to content

Commit b9fa1df

Browse files
authored
[ValueTracking][NFC] Simplify binops in canCreateUndefOrPoison switch (#139906)
Already handled by default case.
1 parent 4370833 commit b9fa1df

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7462,18 +7462,11 @@ static bool canCreateUndefOrPoison(const Operator *Op, UndefPoisonKind Kind,
74627462
case Instruction::FNeg:
74637463
case Instruction::PHI:
74647464
case Instruction::Select:
7465-
case Instruction::URem:
7466-
case Instruction::SRem:
74677465
case Instruction::ExtractValue:
74687466
case Instruction::InsertValue:
74697467
case Instruction::Freeze:
74707468
case Instruction::ICmp:
74717469
case Instruction::FCmp:
7472-
case Instruction::FAdd:
7473-
case Instruction::FSub:
7474-
case Instruction::FMul:
7475-
case Instruction::FDiv:
7476-
case Instruction::FRem:
74777470
case Instruction::GetElementPtr:
74787471
return false;
74797472
default: {

0 commit comments

Comments
 (0)