1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Handle anyext

llvm-svn: 70757
This commit is contained in:
Anton Korobeynikov 2009-05-03 13:15:57 +00:00
parent baf9278166
commit 7dd27f2e41

View File

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