summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/X86RecognizableInstr.cpp
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
commitea91f027627bc0903fb403c6d8c5cb21fc75022a (patch)
tree2bd9d20896dd66d3b528a2db29481dd7f2914586 /llvm/utils/TableGen/X86RecognizableInstr.cpp
parent729c001ec35a666b47fb05ade56ddcc83f50eb27 (diff)
downloadbcm5719-llvm-ea91f027627bc0903fb403c6d8c5cb21fc75022a.tar.gz
bcm5719-llvm-ea91f027627bc0903fb403c6d8c5cb21fc75022a.zip
Mark XACQUIRE_PREFIX/XRELEASE_PREFIX as isAsmParserOnly so they'll disappear from the disassembler table build without custom filtering code.
llvm-svn: 201215
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 48d8fdc4d9a..643823450f2 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud