[PATCH] D27219: Add MCNoDeprecatedASM into MC ASMParser TargetOption to have an option to disable deprecate warning in asm
Yin Ma via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 29 11:03:37 PST 2016
yinma created this revision.
yinma added a subscriber: llvm-commits.
Herald added a subscriber: aemerson.
Currently there is no way to disable deprecated warning from asm like this
clang -target arm qc-deprecated-asm.s -c
qc-deprecated-asm.s:30:9: warning: use of SP or PC in the list is deprecated
stmia r4!, {r12-r14}
We have to have an option what can disable it.
https://reviews.llvm.org/D27219
Files:
include/llvm/MC/MCTargetOptions.h
include/llvm/MC/MCTargetOptionsCommandFlags.h
lib/MC/MCTargetOptions.cpp
test/CodeGen/ARM/qc-deprecated-asm.s
utils/TableGen/AsmMatcherEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27219.79607.patch
Type: text/x-patch
Size: 4492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161129/42f73397/attachment.bin>
More information about the llvm-commits
mailing list