[AsmParser][TableGen] Add VariantID argument to the generated mnemonic spell check...
authorCraig Topper <craig.topper@intel.com>
Thu, 26 Oct 2017 06:46:41 +0000 (06:46 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 26 Oct 2017 06:46:41 +0000 (06:46 +0000)
commit0551556ed2cbf35d4db2b424ad013dcf29570b5c
tree8ca6bbac3303c58d88ea99e10d7eddaffc120814
parent2a06028c0a407c7dd2134060993770f50e299401
[AsmParser][TableGen] Add VariantID argument to the generated mnemonic spell check function so it can use the correct table based on variant.

I'm considering implementing the mnemonic spell checker for x86, and that would require the separate intel and att variants.

llvm-svn: 316641
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
llvm/utils/TableGen/AsmMatcherEmitter.cpp