diff --git a/llvm/lib/Target/R600/AMDGPUInstructions.td b/llvm/lib/Target/R600/AMDGPUInstructions.td index 7acd67313eea..4a9d92caf93a 100644 --- a/llvm/lib/Target/R600/AMDGPUInstructions.td +++ b/llvm/lib/Target/R600/AMDGPUInstructions.td @@ -322,7 +322,7 @@ class POW_Common /* --------------------- */ /* Extract element pattern */ -class Extract_Element : Pat< (sub_type (vector_extract vec_type:$src, sub_idx)), @@ -337,12 +337,6 @@ class Insert_Element ; -class Vector4_Build : Pat < - (vecType (build_vector elemType:$x, elemType:$y, elemType:$z, elemType:$w)), - (INSERT_SUBREG (INSERT_SUBREG (INSERT_SUBREG (INSERT_SUBREG - (vecType (IMPLICIT_DEF)), $x, sub0), $y, sub1), $z, sub2), $w, sub3) ->; - // XXX: Convert to new syntax and use COPY_TO_REG, once the DFAPacketizer // can handle COPY instructions. // bitconvert pattern diff --git a/llvm/lib/Target/R600/R600Instructions.td b/llvm/lib/Target/R600/R600Instructions.td index f7b7488d69c7..d06dc1aabdf3 100644 --- a/llvm/lib/Target/R600/R600Instructions.td +++ b/llvm/lib/Target/R600/R600Instructions.td @@ -2375,9 +2375,6 @@ def : Insert_Element ; def : Insert_Element ; def : Insert_Element ; -def : Vector4_Build ; -def : Vector4_Build ; - def : Extract_Element ; def : Extract_Element ;