diff options
author | Hal Finkel <hfinkel@anl.gov> | 2014-03-26 18:26:36 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2014-03-26 18:26:36 +0000 |
commit | cb2c252f42ac3f65ec9a8c1791f04b29a96dea1d (patch) | |
tree | 3f9c8770ed3ac9912c324e4b514c3911b547d587 | |
parent | c6940d4cb71b60e9da26433a065d68a3c7cf3ce8 (diff) | |
download | llvm-cb2c252f42ac3f65ec9a8c1791f04b29a96dea1d.tar.gz llvm-cb2c252f42ac3f65ec9a8c1791f04b29a96dea1d.tar.bz2 llvm-cb2c252f42ac3f65ec9a8c1791f04b29a96dea1d.tar.xz |
[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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204839 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PowerPC/PPCInstrVSX.td | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCInstrVSX.td b/lib/Target/PowerPC/PPCInstrVSX.td index dbd4727c04..bc0d180998 100644 --- a/lib/Target/PowerPC/PPCInstrVSX.td +++ b/lib/Target/PowerPC/PPCInstrVSX.td @@ -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 |