mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
This patch defines extloadi1 and fixes an internal compiler error on
arm. llvm-svn: 32760
This commit is contained in:
parent
5c1e9c39ef
commit
2cde823f98
@ -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…
x
Reference in New Issue
Block a user