[llvm] r204839 - [PowerPC] Remove some dead VSX v4f32 store patterns

Hal Finkel hfinkel at anl.gov
Wed Mar 26 11:26:36 PDT 2014


Author: hfinkel
Date: Wed Mar 26 13:26:36 2014
New Revision: 204839

URL: http://llvm.org/viewvc/llvm-project?rev=204839&view=rev
Log:
[PowerPC] Remove some dead VSX v4f32 store patterns

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).

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td

Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td?rev=204839&r1=204838&r2=204839&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td Wed Mar 26 13:26:36 2014
@@ -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





More information about the llvm-commits mailing list