[llvm-commits] [llvm] r91976 - /llvm/trunk/lib/Target/X86/X86InstrInfo.td
Chris Lattner
sabre at nondot.org
Tue Dec 22 17:46:41 PST 2009
Author: lattner
Date: Tue Dec 22 19:46:40 2009
New Revision: 91976
URL: http://llvm.org/viewvc/llvm-project?rev=91976&view=rev
Log:
really remove the instruction, don't just comment it out
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=91976&r1=91975&r2=91976&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Tue Dec 22 19:46:40 2009
@@ -3701,16 +3701,13 @@
"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)>;
More information about the llvm-commits
mailing list