diff options
| author | Evandro Menezes <e.menezes@samsung.com> | 2017-02-01 02:54:42 +0000 |
|---|---|---|
| committer | Evandro Menezes <e.menezes@samsung.com> | 2017-02-01 02:54:42 +0000 |
| commit | 455382ea220b0d432aec8b7153b6d8384f032000 (patch) | |
| tree | 05aeafdd69da2b70844b5abc3d571b0b517424ab /llvm/lib/Target/AArch64/AArch64Subtarget.h | |
| parent | b21fb29c26f386be8dd44518d121219db97eda28 (diff) | |
| download | bcm5719-llvm-455382ea220b0d432aec8b7153b6d8384f032000.tar.gz bcm5719-llvm-455382ea220b0d432aec8b7153b6d8384f032000.zip | |
[AArch64] Add new target feature to fuse literal generation
This feature enables the fusion of such operations on Cortex A57, as
recommended in its Software Optimisation Guide, sections 4.14 and 4.15.
Differential revision: https://reviews.llvm.org/D28698
llvm-svn: 293739
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64Subtarget.h')
| -rw-r--r-- | llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h index 26eac3c6349..a5b88ab2619 100644 --- a/llvm/lib/Target/AArch64/AArch64Subtarget.h +++ b/llvm/lib/Target/AArch64/AArch64Subtarget.h @@ -85,6 +85,7 @@ protected: bool HasArithmeticBccFusion = false; bool HasArithmeticCbzFusion = false; bool HasFuseAES = false; + bool HasFuseLiterals = false; bool DisableLatencySchedHeuristic = false; bool UseRSqrt = false; uint8_t MaxInterleaveFactor = 2; @@ -199,6 +200,7 @@ public: bool hasArithmeticBccFusion() const { return HasArithmeticBccFusion; } bool hasArithmeticCbzFusion() const { return HasArithmeticCbzFusion; } bool hasFuseAES() const { return HasFuseAES; } + bool hasFuseLiterals() const { return HasFuseLiterals; } bool useRSqrt() const { return UseRSqrt; } unsigned getMaxInterleaveFactor() const { return MaxInterleaveFactor; } unsigned getVectorInsertExtractBaseCost() const { |

