Correct bool truncstore operand order

llvm-svn: 24855
This commit is contained in:
Chris Lattner 2005-12-19 02:06:50 +00:00
parent 2c792ccc62
commit 655fac2c95
1 changed files with 2 additions and 2 deletions

View File

@ -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)>;