summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorSjoerd Meijer <sjoerd.meijer@arm.com>2019-05-22 07:10:27 +0000
committerSjoerd Meijer <sjoerd.meijer@arm.com>2019-05-22 07:10:27 +0000
commiteec021658b8f1a4db0d170f03f98d694e900dc8c (patch)
treebf95999f743c5941b5ae91183f95b81ec0e77fe2 /llvm/lib
parenta10fe832fdf742d3d9631900ef173af4222d3c9f (diff)
downloadbcm5719-llvm-eec021658b8f1a4db0d170f03f98d694e900dc8c.tar.gz
bcm5719-llvm-eec021658b8f1a4db0d170f03f98d694e900dc8c.zip
[AArch64] Subtarget crypto extension defaults
The Armv8.2-A crypto extensions all defaulted to true, but should default to false, like all the other extensions. Differential Revision: https://reviews.llvm.org/D62180 llvm-svn: 361354
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/AArch64Subtarget.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.h b/llvm/lib/Target/AArch64/AArch64Subtarget.h
index 607e1a1e932..0c84cfb8329 100644
--- a/llvm/lib/Target/AArch64/AArch64Subtarget.h
+++ b/llvm/lib/Target/AArch64/AArch64Subtarget.h
@@ -93,6 +93,12 @@ protected:
bool HasPAN_RWV = false;
bool HasCCPP = false;
+ // Armv8.2 Crypto extensions
+ bool HasSM4 = false;
+ bool HasSHA3 = false;
+ bool HasSHA2 = false;
+ bool HasAES = false;
+
// ARMv8.3 extensions
bool HasPA = false;
bool HasJS = false;
@@ -110,12 +116,6 @@ protected:
bool HasTLB_RMI = false;
bool HasFMI = false;
bool HasRCPC_IMMO = false;
- // ARMv8.4 Crypto extensions
- bool HasSM4 = true;
- bool HasSHA3 = true;
-
- bool HasSHA2 = true;
- bool HasAES = true;
bool HasLSLFast = false;
bool HasSVE = false;
OpenPOWER on IntegriCloud