Remove TEST64mr. It's same as TEST64rm since and is commutative.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 8 Sep 2006 06:56:55 +0000 (06:56 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 8 Sep 2006 06:56:55 +0000 (06:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30178 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrX86-64.td

index e6bfbc496774f4ed47835b186057e595984925cf..ea07e6d5898a56f12afb73577aecc0946db56486 100644 (file)
@@ -709,9 +709,6 @@ let isCommutable = 1 in
 def TEST64rr : RI<0x85, MRMDestReg, (ops GR64:$src1, GR64:$src2),
                   "test{q} {$src2, $src1|$src1, $src2}",
                   [(X86cmp (and GR64:$src1, GR64:$src2), 0)]>;
-def TEST64mr : RI<0x85, MRMDestMem, (ops i64mem:$src1, GR64:$src2),
-                  "test{q} {$src2, $src1|$src1, $src2}",
-                  [/*(X86cmp (and (loadi64 addr:$src1), GR64:$src2), 0)*/]>;
 def TEST64rm : RI<0x85, MRMSrcMem, (ops GR64:$src1, i64mem:$src2),
                   "test{q} {$src2, $src1|$src1, $src2}",
                   [/*(X86cmp (and GR64:$src1, (loadi64 addr:$src2)), 0)*/]>;