[PATCH] D27219: Add MCNoDeprecatedASM into MC ASMParser TargetOption to have an option to disable deprecate warning in asm
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 5 17:21:17 PST 2016
echristo added inline comments.
================
Comment at: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp:3202
OS << " std::string Info;\n";
- OS << " if (MII.get(Inst.getOpcode()).getDeprecatedInfo(Inst, getSTI(), Info)) {\n";
+ OS << " if (!getParser().getTargetParser().\n";
+ OS << " getTargetOptions().MCNoDeprecatedWarn &&\n";
----------------
What's with the TargetParser check here?
Repository:
rL LLVM
https://reviews.llvm.org/D27219
More information about the llvm-commits
mailing list