Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1ddef8e

Browse filesBrowse files
committed
[ValueTracking][NFC] Simplify binops in canCreateUndefOrPoison switch
Already handled by default case.
1 parent db42345 commit 1ddef8e
Copy full SHA for 1ddef8e

File tree

Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-7
lines changed

‎llvm/lib/Analysis/ValueTracking.cpp

Copy file name to clipboardExpand all lines: llvm/lib/Analysis/ValueTracking.cpp
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7774,18 +7774,11 @@ static bool canCreateUndefOrPoison(const Operator *Op, UndefPoisonKind Kind,
77747774
case Instruction::FNeg:
77757775
case Instruction::PHI:
77767776
case Instruction::Select:
7777-
case Instruction::URem:
7778-
case Instruction::SRem:
77797777
case Instruction::ExtractValue:
77807778
case Instruction::InsertValue:
77817779
case Instruction::Freeze:
77827780
case Instruction::ICmp:
77837781
case Instruction::FCmp:
7784-
case Instruction::FAdd:
7785-
case Instruction::FSub:
7786-
case Instruction::FMul:
7787-
case Instruction::FDiv:
7788-
case Instruction::FRem:
77897782
return false;
77907783
case Instruction::GetElementPtr:
77917784
// inbounds is handled above

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.