[clang] [lldb] [llvm] [AArch64] Reduce +sve2-aes to an alias of +sve-aes+sve2 (PR #114293)

Alexandros Lamprineas via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 11 02:09:18 PST 2024


================
@@ -6,10 +6,10 @@ tbx z0.b, z1.b, z2.b
 // CHECK: error: instruction requires: sve2 or sme
 // CHECK-NEXT: tbx z0.b, z1.b, z2.b
 
-.arch_extension sve2-aes
-.arch_extension nosve2-aes
+.arch_extension sve-aes
+.arch_extension nosve-aes
----------------
labrinea wrote:

> all sve2-aes does is enable sve2 and sve-aes

Correct.

> disabling a specific feature does not disable it's dependencies

Also correct

To preserve the old semantics of `nosve2-aes` we need to change the asm parser as follows:
`{"sve2-aes", {AArch64::FeatureSVE2, AArch64::FeatureSVEAES}}`

https://github.com/llvm/llvm-project/pull/114293


More information about the cfe-commits mailing list