aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Candler <david.candler@arm.com>2021-04-28 15:16:01 +0100
committerDavid Candler <david.candler@arm.com>2021-04-28 16:26:18 +0100
commitb8baa2a9132498ea286dbb0d03f005760ecc6fdb (patch)
treeda0cd9b28c4185a11af7621c260afe3141552134 /clang/lib/Frontend/CompilerInvocation.cpp
parent511ffe17edec6010de9c4a6e1ccc6a8d66e043d3 (diff)
downloadllvm-b8baa2a9132498ea286dbb0d03f005760ecc6fdb.zip
llvm-b8baa2a9132498ea286dbb0d03f005760ecc6fdb.tar.gz
llvm-b8baa2a9132498ea286dbb0d03f005760ecc6fdb.tar.bz2
[ARM][AArch64] Require appropriate features for crypto algorithms
This patch changes the AArch32 crypto instructions (sha2 and aes) to require the specific sha2 or aes features. These features have already been implemented and can be controlled through the command line, but do not have the expected result (i.e. `+noaes` will not disable aes instructions). The crypto feature retains its existing meaning of both sha2 and aes. Several small changes are included due to the knock-on effect this has: - The AArch32 driver has been modified to ensure sha2/aes is correctly set based on arch/cpu/fpu selection and feature ordering. - Crypto extensions are permitted for AArch32 v8-R profile, but not enabled by default. - ACLE feature macros have been updated with the fine grained crypto algorithms. These are also used by AArch64. - Various tests updated due to the change in feature lists and macros. Reviewed By: lenary Differential Revision: https://reviews.llvm.org/D99079
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions