mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
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:
parent
e2d97f8399
commit
bcfdec73d1
@ -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)>;
|
||||
|
@ -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)>;
|
||||
|
Loading…
Reference in New Issue
Block a user