From 3f19b69b01eb46357080d734703105192523fd24 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 26 Feb 2014 23:00:58 +0000 Subject: [PATCH] R600: Remove unnecessary build_vector pattern. It is already fully handled in AMDGPUISelDAGToDAG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202312 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/AMDGPUInstructions.td | 8 +------- lib/Target/R600/R600Instructions.td | 3 --- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/Target/R600/AMDGPUInstructions.td b/lib/Target/R600/AMDGPUInstructions.td index 7acd67313eea..4a9d92caf93a 100644 --- a/lib/Target/R600/AMDGPUInstructions.td +++ b/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/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td index f7b7488d69c7..d06dc1aabdf3 100644 --- a/lib/Target/R600/R600Instructions.td +++ b/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 ;