aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp')
-rw-r--r--backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
index bd46144..cde2c8d 100644
--- a/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
+++ b/backend/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
@@ -405,7 +405,6 @@ public:
case GenericOpcode::G_DEBUGTRAP:
case GenericOpcode::G_UBSANTRAP:
case GenericOpcode::G_PHI:
- case GenericOpcode::G_IMPLICIT_DEF:
return {};
default:
return makeUnexpected(ErrorCode::Unsupported,
@@ -493,8 +492,6 @@ public:
return selectTrap(Instruction);
case GenericOpcode::G_PHI:
return Instruction.setOpcode(opcode(GenericOpcode::PHI));
- case GenericOpcode::G_IMPLICIT_DEF:
- return Instruction.setOpcode(opcode(GenericOpcode::IMPLICIT_DEF));
case GenericOpcode::COPY:
case GenericOpcode::IMPLICIT_DEF:
case GenericOpcode::PHI: