Handle anyext

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-05-03 13:15:57 +00:00
parent 0dbf292f68
commit e375a7c768

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