diff options
author | Jack Styles <jack.styles@arm.com> | 2025-04-29 08:28:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 08:28:10 +0100 |
commit | ace8ceab736f7e265b206b583d218a7554bee864 (patch) | |
tree | 459592f66942f51efab53ff05e2e63e61d8cd579 /clang/lib/AST/ByteCode/Program.cpp | |
parent | a618ae2c729152133440315f7b2f23e4612b39f8 (diff) | |
download | llvm-ace8ceab736f7e265b206b583d218a7554bee864.zip llvm-ace8ceab736f7e265b206b583d218a7554bee864.tar.gz llvm-ace8ceab736f7e265b206b583d218a7554bee864.tar.bz2 |
[ARM][Driver] Ensure NEON is enabled and disabled correctly (#137595)
In #130623 support was added for `+nosimd` in the clang driver.
Following this PR, it was discovered that, if NEON is disabled in the
command line, it did not disable features that depend on this, such as
Crypto or AES. To achieve this, This PR does the following:
- Ensure that disabling NEON (e.g., via +nosimd) also disables dependent
features like Crypto and AES.
- Update the driver to automatically enable NEON when enabling features
that require it (e.g., AES).
This fixes inconsistent behavior where features relying on NEON could be
enabled without NEON itself being active, or where disabling NEON left
dependent features incorrectly enabled.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions