summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorEvandro Menezes <e.menezes@samsung.com>2018-08-09 16:13:24 +0000
committerEvandro Menezes <e.menezes@samsung.com>2018-08-09 16:13:24 +0000
commit9a92fe0c9ec205189dbcc447e7dba19c8bbaa194 (patch)
treeef0bb01c3079cf26bb67cdb3d5f2b9996e67f14a /llvm/lib/Target/ARM/ARMSubtarget.h
parent92be39d382e6866f9e4e564ee09692c63b560bc8 (diff)
downloadbcm5719-llvm-9a92fe0c9ec205189dbcc447e7dba19c8bbaa194.tar.gz
bcm5719-llvm-9a92fe0c9ec205189dbcc447e7dba19c8bbaa194.zip
[ARM] Replace processor check with feature
Add new feature, `FeatureUseWideStrideVFP`, that replaces the need for a processor check. Otherwise, NFC. llvm-svn: 339354
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index 74aee9a8ed3..69bc3eaedfb 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -353,6 +353,9 @@ protected:
/// If true, loading into a D subregister will be penalized.
bool SlowLoadDSubregister = false;
+ /// If true, use a wider stride when allocating VFP registers.
+ bool UseWideStrideVFP = false;
+
/// If true, the AGU and NEON/FPU units are multiplexed.
bool HasMuxedUnits = false;
@@ -596,6 +599,7 @@ public:
bool hasVMLxHazards() const { return HasVMLxHazards; }
bool hasSlowOddRegister() const { return SlowOddRegister; }
bool hasSlowLoadDSubregister() const { return SlowLoadDSubregister; }
+ bool useWideStrideVFP() const { return UseWideStrideVFP; }
bool hasMuxedUnits() const { return HasMuxedUnits; }
bool dontWidenVMOVS() const { return DontWidenVMOVS; }
bool useSplatVFPToNeon() const { return SplatVFPToNeon; }
OpenPOWER on IntegriCloud