If triple is armv7 / thumbv7 and a CPU is specified, do not automatically assume
authorEvan Cheng <evan.cheng@apple.com>
Thu, 26 Apr 2012 01:13:36 +0000 (01:13 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 26 Apr 2012 01:13:36 +0000 (01:13 +0000)
commite67a4163f5d2ad8e42a3aa0ccdaa27d85f6d5be4
treeb81c2342c19d28721e59e4c0d1416293227a4ec5
parent4866363304bdde4ad6204b1aa312395c6cc8221e
If triple is armv7 / thumbv7 and a CPU is specified, do not automatically assume
the feature set of v7a. This comes about if the user specifies something like
-arch armv7 -mcpu=cortex-m3. We shouldn't be generating instructions such as
uxtab in this case.

rdar://11318438

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155601 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
test/CodeGen/Thumb2/thumb2-uxt_rot.ll