Skip to content

Commit 6ee845d

Browse files
committed
[IR] Remove handling for removed ConstantExprs (NFC)
1 parent f0e8d00 commit 6ee845d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/IR/Constants.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3434,14 +3434,6 @@ Instruction *ConstantExpr::getAsInstruction() const {
34343434

34353435
switch (getOpcode()) {
34363436
case Instruction::Trunc:
3437-
case Instruction::ZExt:
3438-
case Instruction::SExt:
3439-
case Instruction::FPTrunc:
3440-
case Instruction::FPExt:
3441-
case Instruction::UIToFP:
3442-
case Instruction::SIToFP:
3443-
case Instruction::FPToUI:
3444-
case Instruction::FPToSI:
34453437
case Instruction::PtrToInt:
34463438
case Instruction::IntToPtr:
34473439
case Instruction::BitCast:

0 commit comments

Comments
 (0)