diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-12-19 02:06:50 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-12-19 02:06:50 +0000 |
| commit | 655fac2c956784cbbf15ca5a04798b937bea0408 (patch) | |
| tree | d65003fef2d90ab8d15f77bcececd5b3881b6caa /llvm/lib | |
| parent | 2c792ccc62516c7f96d8362fa2ba1c38def755d5 (diff) | |
| download | bcm5719-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.td | 4 |
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)>; |

