From 655fac2c956784cbbf15ca5a04798b937bea0408 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 19 Dec 2005 02:06:50 +0000 Subject: [PATCH] Correct bool truncstore operand order llvm-svn: 24855 --- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td index 31a0a6ad572c..0094ef6124e7 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)>;