Index: lib/Target/R600/AMDGPUInstructions.td |
diff --git a/lib/Target/R600/AMDGPUInstructions.td b/lib/Target/R600/AMDGPUInstructions.td |
index d2620b2877a58e445d5728156d1731a44f90987b..b44d2482d5e301fddd21b2c9e9f33b041a2b7f96 100644 |
--- a/lib/Target/R600/AMDGPUInstructions.td |
+++ b/lib/Target/R600/AMDGPUInstructions.td |
@@ -284,17 +284,6 @@ class SHA256MaPattern <Instruction BFI_INT, Instruction XOR> : Pat < |
(BFI_INT (XOR i32:$x, i32:$y), i32:$z, i32:$y) |
>; |
-// Bitfield extract patterns |
- |
-def legalshift32 : ImmLeaf <i32, [{return Imm >=0 && Imm < 32;}]>; |
-def bfemask : PatLeaf <(imm), [{return isMask_32(N->getZExtValue());}], |
- SDNodeXForm<imm, [{ return CurDAG->getTargetConstant(CountTrailingOnes_32(N->getZExtValue()), MVT::i32);}]>>; |
- |
-class BFEPattern <Instruction BFE> : Pat < |
- (and (srl i32:$x, legalshift32:$y), bfemask:$z), |
- (BFE $x, $y, $z) |
->; |
- |
include "R600Instructions.td" |
include "SIInstrInfo.td" |