aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/Sparc
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
commitbcfdec73d1e9d4b6f398a9a13b7795c01a89f0f2 (patch)
tree47248a4d46105c00de20cb63c5f140536ac982c3 /lib/Target/Sparc
parente2d97f8399d1d1072a926f9911f3d82f7730358d (diff)
Correct bool truncstore operand order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24855 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 31a0a6ad57..0094ef6124 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.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)>;