mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Handle anyext
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0dbf292f68
commit
e375a7c768
@ -713,6 +713,9 @@ def CMP16mm : Pseudo<(outs), (ins memsrc:$src1, memsrc:$src2),
|
||||
// extload
|
||||
def : Pat<(extloadi16i8 addr:$src), (MOVZX16rm8 addr:$src)>;
|
||||
|
||||
// anyext
|
||||
def : Pat<(anyext addr:$src), (MOVZX16rr8 GR8:$src)>;
|
||||
|
||||
// truncs
|
||||
def : Pat<(i8 (trunc GR16:$src)),
|
||||
(EXTRACT_SUBREG GR16:$src, subreg_8bit)>;
|
||||
|
Loading…
Reference in New Issue
Block a user