summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-02-12 08:09:20 +0000
committerCraig Topper <craig.topper@gmail.com>2014-02-12 08:09:20 +0000
commit5b3a6bd3707253d519e3cc2d26297d920f3415e4 (patch)
tree32bbce9d1ab88e2e0d364c339329c025410934d4 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parentea91f027627bc0903fb403c6d8c5cb21fc75022a (diff)
downloadbcm5719-llvm-5b3a6bd3707253d519e3cc2d26297d920f3415e4.tar.gz
bcm5719-llvm-5b3a6bd3707253d519e3cc2d26297d920f3415e4.zip
Remove special case filtering for instructions with lock prefix as they are all marked with isCodeGenOnly already.
llvm-svn: 201216
Diffstat (limited to 'llvm/utils/TableGen/X86RecognizableInstr.cpp')
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 643823450f2..30328974468 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -180,7 +180,6 @@ RecognizableInstr::RecognizableInstr(DisassemblerTables &tables,
HasEVEX_K = Rec->getValueAsBit("hasEVEX_K");
HasEVEX_KZ = Rec->getValueAsBit("hasEVEX_Z");
HasEVEX_B = Rec->getValueAsBit("hasEVEX_B");
- HasLockPrefix = Rec->getValueAsBit("hasLockPrefix");
HasREPPrefix = Rec->getValueAsBit("hasREPPrefix");
IsCodeGenOnly = Rec->getValueAsBit("isCodeGenOnly");
ForceDisassemble = Rec->getValueAsBit("ForceDisassemble");
@@ -403,11 +402,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
//
- // Filter out instructions with a LOCK prefix;
- // prefer forms that do not have the prefix
- if (HasLockPrefix)
- return FILTER_WEAK;
-
// Special cases.
if (Name == "VMASKMOVDQU64")
OpenPOWER on IntegriCloud