summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-19 02:06:50 +0000
committerChris Lattner <sabre@nondot.org>2005-12-19 02:06:50 +0000
commit655fac2c956784cbbf15ca5a04798b937bea0408 (patch)
treed65003fef2d90ab8d15f77bcececd5b3881b6caa /llvm/lib
parent2c792ccc62516c7f96d8362fa2ba1c38def755d5 (diff)
downloadbcm5719-llvm-655fac2c956784cbbf15ca5a04798b937bea0408.tar.gz
bcm5719-llvm-655fac2c956784cbbf15ca5a04798b937bea0408.zip
Correct bool truncstore operand order
llvm-svn: 24855
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/SparcV8/SparcV8InstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
index 31a0a6ad572..0094ef6124e 100644
--- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -736,6 +736,6 @@ def : Pat<(i32 (zextload ADDRri:$src, i1)), (LDUBri ADDRri:$src)>;
// truncstore bool -> truncstore byte.
def : Pat<(truncstore IntRegs:$src, ADDRrr:$addr, i1),
- (STBrr IntRegs:$src, ADDRrr:$addr)>;
+ (STBrr ADDRrr:$addr, IntRegs:$src)>;
def : Pat<(truncstore IntRegs:$src, ADDRri:$addr, i1),
- (STBri IntRegs:$src, ADDRri:$addr)>;
+ (STBri ADDRri:$addr, IntRegs:$src)>;
OpenPOWER on IntegriCloud