mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +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