mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 00:50:58 +00:00
This patch defines extloadi1 and fixes an internal compiler error on
arm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b913bbaa41
commit
a8f9f4af54
@ -339,6 +339,9 @@ def : Pat<(extloadi8 IntRegs:$addr),
|
||||
def : Pat<(extloadi16 IntRegs:$addr),
|
||||
(LDRH IntRegs:$addr)>;
|
||||
|
||||
// extload bool -> extload byte
|
||||
def : Pat<(extloadi1 IntRegs:$addr), (LDRB IntRegs:$addr)>;
|
||||
|
||||
// zextload bool -> zextload byte
|
||||
def : Pat<(i32 (zextloadi1 IntRegs:$addr)), (LDRB IntRegs:$addr)>;
|
||||
def : Pat<(i32 (zextloadi1 IntRegs:$addr)), (LDRB IntRegs:$addr)>;
|
||||
|
Loading…
Reference in New Issue
Block a user