summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
index 38136d1a840..d6b0ec6facb 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
@@ -1713,11 +1713,6 @@ bool AMDGPUInstructionSelector::select(MachineInstr &I) {
return selectG_BRCOND(I);
case TargetOpcode::G_FRAME_INDEX:
return selectG_FRAME_INDEX(I);
- case TargetOpcode::G_FENCE:
- // FIXME: Tablegen importer doesn't handle the imm operands correctly, and
- // is checking for G_CONSTANT
- I.setDesc(TII.get(AMDGPU::ATOMIC_FENCE));
- return true;
case TargetOpcode::G_PTR_MASK:
return selectG_PTR_MASK(I);
default:
OpenPOWER on IntegriCloud