This patch defines extloadi1 and fixes an internal compiler error on
arm. llvm-svn: 32760
This commit is contained in:
parent
9d36acf9ec
commit
d0ced3f1e8
|
|
@ -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