summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-02-12 08:02:29 +0000
committerCraig Topper <craig.topper@gmail.com>2014-02-12 08:02:29 +0000
commit56d749a86be5f117e78a659a13a46203b87efb11 (patch)
treec8c00da230f93e3afff09ae2059799dd0250d26d /utils
parent0d7106b63d67369a071f5bc61dcbe4e9ca0b384c (diff)
downloadllvm-56d749a86be5f117e78a659a13a46203b87efb11.tar.gz
llvm-56d749a86be5f117e78a659a13a46203b87efb11.tar.bz2
llvm-56d749a86be5f117e78a659a13a46203b87efb11.tar.xz
Mark XACQUIRE_PREFIX/XRELEASE_PREFIX as isAsmParserOnly so they'll disappear from the disassembler table build without custom filtering code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/X86RecognizableInstr.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/TableGen/X86RecognizableInstr.cpp b/utils/TableGen/X86RecognizableInstr.cpp
index 48d8fdc4d9..643823450f 100644
--- a/utils/TableGen/X86RecognizableInstr.cpp
+++ b/utils/TableGen/X86RecognizableInstr.cpp
@@ -413,12 +413,6 @@ RecognizableInstr::filter_ret RecognizableInstr::filter() const {
if (Name == "VMASKMOVDQU64")
return FILTER_WEAK;
- // XACQUIRE and XRELEASE reuse REPNE and REP respectively.
- // For now, just prefer the REP versions.
- if (Name == "XACQUIRE_PREFIX" ||
- Name == "XRELEASE_PREFIX")
- return FILTER_WEAK;
-
return FILTER_NORMAL;
}