Correct bool truncstore operand order

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24855 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-12-19 02:06:50 +00:00
parent e2d97f8399
commit bcfdec73d1
2 changed files with 4 additions and 4 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)>;

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