summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.cpp6
-rw-r--r--llvm/utils/TableGen/X86RecognizableInstr.h2
2 files changed, 0 insertions, 8 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")
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.h b/llvm/utils/TableGen/X86RecognizableInstr.h
index 70c785ed889..ac80ec653b3 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.h
+++ b/llvm/utils/TableGen/X86RecognizableInstr.h
@@ -74,8 +74,6 @@ private:
bool HasEVEX_KZ;
/// The hasEVEX_B field from the record
bool HasEVEX_B;
- /// The hasLockPrefix field from the record
- bool HasLockPrefix;
/// The hasREPPrefix field from the record
bool HasREPPrefix;
/// The isCodeGenOnly field from the record
OpenPOWER on IntegriCloud