diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-02-12 08:09:20 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-02-12 08:09:20 +0000 |
commit | cfd14e6aea88236309d8e7a115f77d3da919ba16 (patch) | |
tree | bc335a73916daf439f98d01d12e01fc4be4a6490 | |
parent | 56d749a86be5f117e78a659a13a46203b87efb11 (diff) |
Remove special case filtering for instructions with lock prefix as they are all marked with isCodeGenOnly already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201216 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/TableGen/X86RecognizableInstr.cpp | 6 | ||||
-rw-r--r-- | utils/TableGen/X86RecognizableInstr.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp index 643823450f2..30328974468 100644 --- a/utils/TableGen/X86RecognizableInstr.cpp +++ b/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/utils/TableGen/X86RecognizableInstr.h b/utils/TableGen/X86RecognizableInstr.h index 70c785ed889..ac80ec653b3 100644 --- a/utils/TableGen/X86RecognizableInstr.h +++ b/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 |