summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
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
commit07ad1b23bb9f00f6b28ac55b9dece10bbb89b908 (patch)
tree6d0e92c0dd12e120ee1d3f3374f3e362089c40d8 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parent68d2546ec60038956aac096cd72c9547901af257 (diff)
downloadbcm5719-llvm-07ad1b23bb9f00f6b28ac55b9dece10bbb89b908.tar.gz
bcm5719-llvm-07ad1b23bb9f00f6b28ac55b9dece10bbb89b908.zip
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.
llvm-svn: 192090
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index fed3f7758ed..d3427207b3c 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud