For now, can't mark XOR64rr isAsCheapAsAMove. It's technically correct. But various...
authorEvan Cheng <evan.cheng@apple.com>
Sat, 30 Aug 2008 08:54:22 +0000 (08:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 30 Aug 2008 08:54:22 +0000 (08:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55562 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td

index 07f6091d41a1bc29e7b9c758248002b55db13f2e..1bffac9c804531133ef4aa23b24112752733f157 100644 (file)
@@ -767,7 +767,7 @@ def OR64mi8  : RIi8<0x83, MRM1m, (outs), (ins i64mem:$dst, i64i8imm:$src),
                   [(store (or (load addr:$dst), i64immSExt8:$src), addr:$dst)]>;
 
 let isTwoAddress = 1 in {
-let isCommutable = 1, isAsCheapAsAMove = 1 in
+let isCommutable = 1 in
 def XOR64rr  : RI<0x31, MRMDestReg,  (outs GR64:$dst), (ins GR64:$src1, GR64:$src2), 
                   "xor{q}\t{$src2, $dst|$dst, $src2}",
                   [(set GR64:$dst, (xor GR64:$src1, GR64:$src2))]>;