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

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 1 02:59:52 PDT 2024


================
@@ -65,8 +68,8 @@
 // SVE-SUBFEATURE-CONFLICT-NOT: "-target-feature" "+sve2"
 // SVE-SUBFEATURE-CONFLICT-NOT: "-target-feature" "+sve"
 
-// RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+nosve+sve2-aes %s -### 2>&1 | FileCheck %s --check-prefix=SVE-SUBFEATURE-CONFLICT-REV
-// SVE-SUBFEATURE-CONFLICT-REV: "-target-feature" "+sve" "-target-feature" "+sve2" "-target-feature" "+sve2-aes"
+// RUN: %clang --target=aarch64-linux-gnu -march=armv8-a+nosve+sve2-bitperm %s -### 2>&1 | FileCheck %s --check-prefix=SVE-SUBFEATURE-CONFLICT-REV
----------------
SpencerAbson wrote:

`sve2-aes` now enables target features `sve`,  `sve-aes`, and `sve2` - I thought `sve2-bitperm` might make the meaning of this test a bit clearer, but the difference is minimal so I will remove this change.


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


More information about the cfe-commits mailing list