summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-10-07 07:19:47 +0000
committerCraig Topper <craig.topper@gmail.com>2013-10-07 07:19:47 +0000
commite778f82a1e33826ab012bb970a406c9acf37349b (patch)
tree8b3685bd73f2970daf84de2e5e26f463af2ffeb7 /utils
parent510fb362a815499dde40cfae807b2ab927527ab0 (diff)
downloadllvm-e778f82a1e33826ab012bb970a406c9acf37349b.tar.gz
llvm-e778f82a1e33826ab012bb970a406c9acf37349b.tar.bz2
llvm-e778f82a1e33826ab012bb970a406c9acf37349b.tar.xz
Remove some instructions that seem to only exist to trick the filtering checks in the disassembler table creation. Just fix up the filter to let the real instruction through instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index fed3f7758e..d3427207b3 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/utils/TableGen/X86RecognizableInstr.cpp
@@ -538,7 +538,8 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
if (Name.find("MOV") != Name.npos && Name.find("r0") != Name.npos)
return FILTER_WEAK;
- if (Name.find("MOVZ") != Name.npos && Name.find("MOVZX") == Name.npos)
+ if (Name.find("MOVZ") != Name.npos && Name.find("MOVZX") == Name.npos &&
+ Name != "MOVZPQILo2PQIrr")
return FILTER_WEAK;
if (Name.find("Fs") != Name.npos)
return FILTER_WEAK;