From: Sjoerd Meijer Date: Wed, 22 May 2019 07:10:27 +0000 (+0000) Subject: [AArch64] Subtarget crypto extension defaults X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b72aba28508aac694c17b3ebd5886ffbfa80678d;p=llvm [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361354 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/AArch64/AArch64Subtarget.h b/lib/Target/AArch64/AArch64Subtarget.h index 607e1a1e932..0c84cfb8329 100644 --- a/lib/Target/AArch64/AArch64Subtarget.h +++ b/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;