diff options
author | Martell Malone <martellmalone@gmail.com> | 2018-12-11 03:14:56 +0000 |
---|---|---|
committer | Martell Malone <martellmalone@gmail.com> | 2018-12-11 03:14:56 +0000 |
commit | 0b3ddec7eda5c09d90fac18e37db8793960e00e4 (patch) | |
tree | 009478ffcd588d43b085b23d7457cdb872794f34 /llvm/lib | |
parent | d5a20703c4ab33f33d0302605d781b68c2c057a5 (diff) | |
download | bcm5719-llvm-0b3ddec7eda5c09d90fac18e37db8793960e00e4.tar.gz bcm5719-llvm-0b3ddec7eda5c09d90fac18e37db8793960e00e4.zip |
[PPC][NFC] store operands are dst not src
Differential Revision: https://reviews.llvm.org/D55502
llvm-svn: 348826
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.td | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index c036bf53836..108ccc1fc02 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.td @@ -1994,15 +1994,15 @@ def LMW : DForm_1<46, (outs gprc:$rD), (ins memri:$src), // Unindexed (r+i) Stores. let PPC970_Unit = 2, mayStore = 1, mayLoad = 0 in { -def STB : DForm_1<38, (outs), (ins gprc:$rS, memri:$src), - "stb $rS, $src", IIC_LdStStore, - [(truncstorei8 i32:$rS, iaddr:$src)]>; -def STH : DForm_1<44, (outs), (ins gprc:$rS, memri:$src), - "sth $rS, $src", IIC_LdStStore, - [(truncstorei16 i32:$rS, iaddr:$src)]>; -def STW : DForm_1<36, (outs), (ins gprc:$rS, memri:$src), - "stw $rS, $src", IIC_LdStStore, - [(store i32:$rS, iaddr:$src)]>; +def STB : DForm_1<38, (outs), (ins gprc:$rS, memri:$dst), + "stb $rS, $dst", IIC_LdStStore, + [(truncstorei8 i32:$rS, iaddr:$dst)]>; +def STH : DForm_1<44, (outs), (ins gprc:$rS, memri:$dst), + "sth $rS, $dst", IIC_LdStStore, + [(truncstorei16 i32:$rS, iaddr:$dst)]>; +def STW : DForm_1<36, (outs), (ins gprc:$rS, memri:$dst), + "stw $rS, $dst", IIC_LdStStore, + [(store i32:$rS, iaddr:$dst)]>; let Predicates = [HasFPU] in { def STFS : DForm_1<52, (outs), (ins f4rc:$rS, memri:$dst), "stfs $rS, $dst", IIC_LdStSTFD, |