forked from OSchip/llvm-project
really remove the instruction, don't just comment it out
llvm-svn: 91976
This commit is contained in:
parent
518b037620
commit
4e26c0e52b
|
@ -3704,13 +3704,10 @@ def MOV8r0 : I<0x30, MRMInitReg, (outs GR8 :$dst), (ins),
|
|||
def MOV32r0 : I<0x31, MRMInitReg, (outs GR32:$dst), (ins),
|
||||
"xor{l}\t$dst, $dst",
|
||||
[(set GR32:$dst, 0)]>;
|
||||
}
|
||||
|
||||
// Use xorl instead of xorw since we don't care about the high 16 bits,
|
||||
// it's smaller, and it avoids a partial-register update.
|
||||
//def MOV16r0 : I<0x31, MRMInitReg, (outs GR16:$dst), (ins),
|
||||
// "", [/*(set GR16:$dst, 0)*/]>;
|
||||
}
|
||||
|
||||
let AddedComplexity = 1 in
|
||||
def : Pat<(i16 0),
|
||||
(EXTRACT_SUBREG (MOV32r0), x86_subreg_16bit)>;
|
||||
|
|
Loading…
Reference in New Issue