[PowerPC] Remove some dead VSX v4f32 store patterns
authorHal Finkel <hfinkel@anl.gov>
Wed, 26 Mar 2014 18:26:36 +0000 (18:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 26 Mar 2014 18:26:36 +0000 (18:26 +0000)
These patterns are dead (because v4f32 stores are currently promoted to v4i32
and stored using Altivec instructions), and also are likely not correct
(because they'd store the vector elements in the opposite order from that
assumed by the rest of the Altivec code).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204839 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCInstrVSX.td

index dbd4727c04b3dc17206a11d5803d796e899f7bd3..bc0d180998d68fa80952360d096720d2e989c9eb 100644 (file)
@@ -57,8 +57,7 @@ let Uses = [RM] in {
 
     def LXVW4X : XForm_1<31, 780,
                          (outs vsrc:$XT), (ins memrr:$src),
-                         "lxvw4x $XT, $src", IIC_LdStLFD,
-                         [(set v4f32:$XT, (load xoaddr:$src))]>;
+                         "lxvw4x $XT, $src", IIC_LdStLFD, []>;
   }
 
   // Store indexed instructions
@@ -75,8 +74,7 @@ let Uses = [RM] in {
 
     def STXVW4X : XX1Form<31, 908,
                          (outs), (ins vsrc:$XT, memrr:$dst),
-                         "stxvw4x $XT, $dst", IIC_LdStSTFD,
-                         [(store v4f32:$XT, xoaddr:$dst)]>;
+                         "stxvw4x $XT, $dst", IIC_LdStSTFD, []>;
   }
 
   // Add/Mul Instructions