[clang] [ARM][Driver] Ensure NEON is enabled and Disabled correctly (PR #137595)
Jack Styles via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 28 01:34:09 PDT 2025
https://github.com/Stylie777 created https://github.com/llvm/llvm-project/pull/137595
In #130623 support was added for `+nosimd` in the clang driver. Following this PR, it was discovered that, if NEONS is disabled in the command line, it did not disable features that have NEON as a requirement, such as Crypto or AES. To achieve this, clang will now check if SIMD has been disabled when using a NEON supported FPU. If this is the case, it will disable all features that depend on NEON.
While working on this Patch, I spotted that for features that rely on NEON, when used, do not enable NEON in the Driver. This meant that when using AES for example, NEON would not be activated. NEON is required when using features such as AES, so this is now enabled when using such features.
Sorry, this diff is unavailable.
More information about the cfe-commits
mailing list