[llvm] r198546 - Remove no longer needed x86 disassembler hack.

Craig Topper craig.topper at gmail.com
Sat Jan 4 21:10:07 PST 2014


Author: ctopper
Date: Sat Jan  4 23:10:07 2014
New Revision: 198546

URL: http://llvm.org/viewvc/llvm-project?rev=198546&view=rev
Log:
Remove no longer needed x86 disassembler hack.

Modified:
    llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp

Modified: llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp?rev=198546&r1=198545&r2=198546&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp (original)
+++ llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp Sat Jan  4 23:10:07 2014
@@ -507,12 +507,6 @@ RecognizableInstr::filter_ret Recognizab
   if (HasLockPrefix)
     return FILTER_WEAK;
 
-  // Filter out alternate forms of AVX instructions
-  if ((Name.find("r64r") != Name.npos && Name.find("r64r64") == Name.npos && Name.find("r64r8") == Name.npos) ||
-      Name.find("_64mr") != Name.npos ||
-      Name.find("rr64") != Name.npos)
-    return FILTER_WEAK;
-
   // Special cases.
 
   if (Name == "PUSH64i16"         ||





More information about the llvm-commits mailing list