OSDN Git Service

Summary: Currently there is no way to disable deprecated warning from asm like this
authorWeiming Zhao <weimingz@codeaurora.org>
Mon, 5 Dec 2016 23:55:13 +0000 (23:55 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Mon, 5 Dec 2016 23:55:13 +0000 (23:55 +0000)
commit943496ffc4e7cb9d7dd6f5119325a7583e2cc31f
treebbed66514913467b880c24b1138543c1dbbeae39
parentfe3cc4d2c5bd17402f9251fbc08c503f12c8bd52
Summary: Currently there is no way to disable deprecated warning from asm like this

clang  -target arm deprecated-asm.s -c
  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.

Patched by Yin Ma!

Reviewers: joey, echristo, weimingz

Subscribers: llvm-commits, aemerson

Differential Revision: https://reviews.llvm.org/D27219

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288734 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCTargetOptions.h
include/llvm/MC/MCTargetOptionsCommandFlags.h
lib/MC/MCTargetOptions.cpp
test/CodeGen/ARM/deprecated-asm.s [new file with mode: 0644]
utils/TableGen/AsmMatcherEmitter.cpp