aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2012-01-17 18:30:45 +0000
committerDevang Patel <dpatel@apple.com>2012-01-17 18:30:45 +0000
commit40bced0306e953c3d0fec19db4c4770b0e3c787e (patch)
tree6676375ba2e3da5568377093e7bea45fdd7ecb55 /utils
parentaa2bb63d97dd156a9344fe6ada37099dcef69dd7 (diff)
downloadexternal_llvm-40bced0306e953c3d0fec19db4c4770b0e3c787e.zip
external_llvm-40bced0306e953c3d0fec19db4c4770b0e3c787e.tar.gz
external_llvm-40bced0306e953c3d0fec19db4c4770b0e3c787e.tar.bz2
Intel syntax: Ignore mnemonic aliases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/AsmMatcherEmitter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/TableGen/AsmMatcherEmitter.cpp b/utils/TableGen/AsmMatcherEmitter.cpp
index 3a5caeb..4d18516 100644
--- a/utils/TableGen/AsmMatcherEmitter.cpp
+++ b/utils/TableGen/AsmMatcherEmitter.cpp
@@ -2388,7 +2388,9 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
if (HasMnemonicAliases) {
OS << " // Process all MnemonicAliases to remap the mnemonic.\n";
- OS << " applyMnemonicAliases(Mnemonic, AvailableFeatures);\n\n";
+ OS << " // FIXME : Add an entry in AsmParserVariant to check this.\n";
+ OS << " if (!VariantID)\n";
+ OS << " applyMnemonicAliases(Mnemonic, AvailableFeatures);\n\n";
}
// Emit code to compute the class list for this operand vector.