Skip to content
Snippets Groups Projects
Commit 20a91130 authored by Anton Korobeynikov's avatar Anton Korobeynikov
Browse files

Handle anyext

llvm-svn: 70757
parent 80b4eef6
No related branches found
No related tags found
No related merge requests found
......@@ -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)>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment