]> granicus.if.org Git - llvm/commit
[ARM] Do not test for CPUs, use SubtargetFeatures (Part 2). NFCI
authorDiana Picus <diana.picus@linaro.org>
Mon, 27 Jun 2016 09:08:23 +0000 (09:08 +0000)
committerDiana Picus <diana.picus@linaro.org>
Mon, 27 Jun 2016 09:08:23 +0000 (09:08 +0000)
commit92eaa569c302e322009a51f02b4025a8932e4a4c
tree82e729de6f2dcf26b995ddec84bc5edad87d5d6b
parent01b8445ea6036613d34e344765760bded49ee871
[ARM] Do not test for CPUs, use SubtargetFeatures (Part 2). NFCI

This is a follow-up for r273544.

The end goal is to get rid of the isSwift / isCortexXY / isWhatever methods.

Since the ARM backend seems to have quite a lot of calls to these methods, I
intend to submit 5-6 subtarget features at a time, instead of one big lump.

Differential Revision: http://reviews.llvm.org/D21685

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273853 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/ARMTargetTransformInfo.h