diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-12-23 01:46:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-12-23 01:46:40 +0000 |
| commit | 4e26c0e52b7cbb7260a229c401fd1cad2db728ff (patch) | |
| tree | a8648e22de41dbc367591bd05afe8559e4a872dd | |
| parent | 518b03762033c89d80a7a302108d159bdcd14f70 (diff) | |
| download | bcm5719-llvm-4e26c0e52b7cbb7260a229c401fd1cad2db728ff.tar.gz bcm5719-llvm-4e26c0e52b7cbb7260a229c401fd1cad2db728ff.zip | |
really remove the instruction, don't just comment it out
llvm-svn: 91976
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.td | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index de30c075e95..51a128aaf51 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -3701,16 +3701,13 @@ def MOV8r0 : I<0x30, MRMInitReg, (outs GR8 :$dst), (ins), "xor{b}\t$dst, $dst", [(set GR8:$dst, 0)]>; - def MOV32r0 : I<0x31, MRMInitReg, (outs GR32:$dst), (ins), - "xor{l}\t$dst, $dst", - [(set GR32:$dst, 0)]>; +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)>; |

