aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/ARMSubtarget.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2016-06-23 07:47:35 +0000
committerDiana Picus <diana.picus@linaro.org>2016-06-23 07:47:35 +0000
commitc5baa43f53b1dd76758c8a1f6b45fc5ed043aea7 (patch)
tree1f13049fc03c81bc094eaa9c5c1ca4d0f974cdbf /llvm/lib/Target/ARM/ARMSubtarget.cpp
parent597aa42fec46332e1267e4234cd9d258ac4e5b53 (diff)
downloadllvm-c5baa43f53b1dd76758c8a1f6b45fc5ed043aea7.zip
llvm-c5baa43f53b1dd76758c8a1f6b45fc5ed043aea7.tar.gz
llvm-c5baa43f53b1dd76758c8a1f6b45fc5ed043aea7.tar.bz2
[ARM] Do not test for CPUs, use SubtargetFeatures (Part 1). NFCI
This is a cleanup commit similar to r271555, but for ARM. 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/D21432 llvm-svn: 273544
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp
index 5f0a489..0cc57a2 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.cpp
+++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp
@@ -154,6 +154,12 @@ void ARMSubtarget::initializeEnvironment() {
HasCRC = false;
HasRAS = false;
HasZeroCycleZeroing = false;
+ IsProfitableToUnpredicate = false;
+ HasSlowVGETLNi32 = false;
+ HasSlowVDUP32 = false;
+ PreferVMOVSR = false;
+ PreferISHST = false;
+ UseNEONForFPMovs = false;
StrictAlign = false;
HasDSP = false;
UseNaClTrap = false;