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:
Lauro Ramos Venancio 2006-12-26 19:30:42 +00:00
parent b913bbaa41
commit a8f9f4af54

View File

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