mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +00:00
extload -> zextload
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33542 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e97288b62
commit
b60c02e005
@ -484,6 +484,11 @@ def : ThumbV5Pat<(ARMcall GPR:$dst), (tBLXr GPR:$dst)>;
|
||||
def : ThumbPat<(zextloadi1 t_addrmode_s1:$addr),
|
||||
(tLDRB t_addrmode_s1:$addr)>;
|
||||
|
||||
// extload -> zextload
|
||||
def : ThumbPat<(extloadi1 t_addrmode_s1:$addr), (tLDRB t_addrmode_s1:$addr)>;
|
||||
def : ThumbPat<(extloadi8 t_addrmode_s1:$addr), (tLDRB t_addrmode_s1:$addr)>;
|
||||
def : ThumbPat<(extloadi16 t_addrmode_s2:$addr), (tLDRH t_addrmode_s2:$addr)>;
|
||||
|
||||
// truncstore i1 -> truncstore i8
|
||||
def : ThumbPat<(truncstorei1 GPR:$src, t_addrmode_s1:$dst),
|
||||
(tSTRB GPR:$src, t_addrmode_s1:$dst)>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user