really remove the instruction, don't just comment it out
authorChris Lattner <sabre@nondot.org>
Wed, 23 Dec 2009 01:46:40 +0000 (01:46 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Dec 2009 01:46:40 +0000 (01:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91976 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index de30c075e95abd24b67dd03e4e858e8758c935e2..51a128aaf511fb38a7163262e22e899f1da8fb0f 100644 (file)
@@ -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)>;