[clang] [clang][test] Split AArch64 target feature checks across multiple lines. NFC (PR #99365)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 17 11:18:34 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jon Roelofs (jroelofs)
<details>
<summary>Changes</summary>
Whenever these tests change, it's difficult to see why they don't match, and the diff after you've fixed them isn't easy to grok. By splitting them with a sed pipe, we fix both issues simultaneously.
---
Patch is 28.91 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/99365.diff
1 Files Affected:
- (modified) clang/test/Preprocessor/aarch64-target-features.c (+303-48)
``````````diff
diff --git a/clang/test/Preprocessor/aarch64-target-features.c b/clang/test/Preprocessor/aarch64-target-features.c
index 71cc36acf3f0e..d811cb36e28d8 100644
--- a/clang/test/Preprocessor/aarch64-target-features.c
+++ b/clang/test/Preprocessor/aarch64-target-features.c
@@ -291,54 +291,309 @@
// RUN: %clang -target aarch64 -mtune=CYCLONE -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MTUNE-CYCLONE %s
// CHECK-MTUNE-CYCLONE: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8a"
-// RUN: %clang -target aarch64 -mcpu=apple-a7 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a8 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a9 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a10 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A10 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a11 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A11 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a12 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
-// RUN: %clang -target aarch64 -mcpu=apple-a13 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A13 %s
-// RUN: %clang -target aarch64 -mcpu=apple-s4 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
-// RUN: %clang -target aarch64 -mcpu=apple-s5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
-// RUN: %clang -target aarch64 -mcpu=cyclone -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a34 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A34 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a35 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A35 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a53 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A53 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a57 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A57 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a72 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A72 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-a73 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-CORTEX-A73 %s
-// RUN: %clang -target aarch64 -mcpu=cortex-r82 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-CORTEX-R82 %s
-// RUN: %clang -target aarch64 -mcpu=exynos-m3 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-M3 %s
-// RUN: %clang -target aarch64 -mcpu=exynos-m4 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-M4 %s
-// RUN: %clang -target aarch64 -mcpu=exynos-m5 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-M4 %s
-// RUN: %clang -target aarch64 -mcpu=kryo -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-KRYO %s
-// RUN: %clang -target aarch64 -mcpu=thunderx2t99 -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-THUNDERX2T99 %s
-// RUN: %clang -target aarch64 -mcpu=a64fx -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-A64FX %s
-// RUN: %clang -target aarch64 -mcpu=carmel -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-MCPU-CARMEL %s
-// CHECK-MCPU-APPLE-A7: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-APPLE-A10: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+lor" "-target-feature" "+neon" "-target-feature" "+pan" "-target-feature" "+perfmon" "-target-feature" "+rdm" "-target-feature" "+sha2" "-target-feature" "+vh"
-// CHECK-MCPU-APPLE-A11: "-cc1"{{.*}} "-triple" "aarch64{{.*}}"{{.*}}"-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8.2a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rdm" "-target-feature" "+sha2"
-// CHECK-MCPU-APPLE-A12: "-cc1"{{.*}} "-triple" "aarch64"{{.*}} "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8.3a" "-target-feature" "+aes" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+jsconv" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+pauth" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+sha2"
-// CHECK-MCPU-A34: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-APPLE-A13: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8.4a" "-target-feature" "+aes" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+fp16fml" "-target-feature" "+fullfp16" "-target-feature" "+jsconv" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+pauth" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+sha2" "-target-feature" "+sha3"
-// CHECK-MCPU-A35: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-A53: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-A57: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-A72: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-CORTEX-A73: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-CORTEX-R82: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8r" "-target-feature" "+ccdp" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+dotprod" "-target-feature" "+flagm" "-target-feature" "+fp-armv8" "-target-feature" "+fp16fml" "-target-feature" "+fullfp16" "-target-feature" "+jsconv" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+pauth" "-target-feature" "+perfmon" "-target-feature" "+predres" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+sb" "-target-feature" "+ssbs"
-// CHECK-MCPU-M3: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-M4: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8.2a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rdm" "-target-feature" "+sha2"
-// CHECK-MCPU-KRYO: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+sha2"
-// CHECK-MCPU-THUNDERX2T99: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8.1a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+rdm" "-target-feature" "+sha2
-// CHECK-MCPU-A64FX: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8.2a" "-target-feature" "+aes" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rdm" "-target-feature" "+sha2" "-target-feature" "+sve"
-// CHECK-MCPU-CARMEL: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-feature" "+v8.2a" "-target-feature" "+aes" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+ras" "-target-feature" "+rdm" "-target-feature" "+sha2"
-
-// RUN: %clang -target x86_64-apple-macosx -arch arm64 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-ARCH-ARM64 %s
-// CHECK-ARCH-ARM64: "-target-cpu" "apple-m1" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8.4a" "-target-feature" "+aes" "-target-feature" "+altnzcv" "-target-feature" "+ccdp" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+dotprod" "-target-feature" "+fp-armv8" "-target-feature" "+fp16fml" "-target-feature" "+fptoint" "-target-feature" "+fullfp16" "-target-feature" "+jsconv" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+pauth" "-target-feature" "+perfmon" "-target-feature" "+predres" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+sb" "-target-feature" "+sha2" "-target-feature" "+sha3" "-target-feature" "+specrestrict" "-target-feature" "+ssbs"
-
-// RUN: %clang -target x86_64-apple-macosx -arch arm64_32 -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-ARCH-ARM64_32 %s
-// CHECK-ARCH-ARM64_32: "-target-cpu" "apple-s4" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+v8.3a" "-target-feature" "+aes" "-target-feature" "+complxnum" "-target-feature" "+crc" "-target-feature" "+fp-armv8" "-target-feature" "+fullfp16" "-target-feature" "+jsconv" "-target-feature" "+lse" "-target-feature" "+neon" "-target-feature" "+pauth" "-target-feature" "+perfmon" "-target-feature" "+ras" "-target-feature" "+rcpc" "-target-feature" "+rdm" "-target-feature" "+sha2"
+// RUN: %clang -target aarch64 -mcpu=apple-a7 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a8 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a9 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a10 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A10 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a11 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A11 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a12 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
+// RUN: %clang -target aarch64 -mcpu=apple-a13 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A13 %s
+// RUN: %clang -target aarch64 -mcpu=apple-s4 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
+// RUN: %clang -target aarch64 -mcpu=apple-s5 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A12 %s
+// RUN: %clang -target aarch64 -mcpu=cyclone -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-APPLE-A7 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a34 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A34 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a35 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A35 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a53 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A53 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a57 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A57 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a72 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A72 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-a73 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-CORTEX-A73 %s
+// RUN: %clang -target aarch64 -mcpu=cortex-r82 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-CORTEX-R82 %s
+// RUN: %clang -target aarch64 -mcpu=exynos-m3 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-M3 %s
+// RUN: %clang -target aarch64 -mcpu=exynos-m4 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-M4 %s
+// RUN: %clang -target aarch64 -mcpu=exynos-m5 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-M4 %s
+// RUN: %clang -target aarch64 -mcpu=kryo -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-KRYO %s
+// RUN: %clang -target aarch64 -mcpu=thunderx2t99 -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-THUNDERX2T99 %s
+// RUN: %clang -target aarch64 -mcpu=a64fx -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-A64FX %s
+// RUN: %clang -target aarch64 -mcpu=carmel -### -c %s 2>&1 | sed -e 's/"-/\n"-/g' | FileCheck -check-prefix=CHECK-MCPU-CARMEL %s
+// CHECK-MCPU-APPLE-A7-LABEL: "-target-cpu" "apple-a7"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+zcm"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+zcz"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-APPLE-A7-NEXT: "-target-abi"
+// CHECK-MCPU-APPLE-A10-LABEL: "-target-cpu" "apple-a10"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+zcm"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+zcz"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+lor"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+pan"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+rdm"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-feature" "+vh"
+// CHECK-MCPU-APPLE-A10-NEXT: "-target-abi"
+// CHECK-MCPU-APPLE-A11-LABEL: "-target-cpu" "apple-a11"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+zcm"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+zcz"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+v8.2a"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+fullfp16"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+lse"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+ras"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+rdm"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-APPLE-A11-NEXT: "-target-abi"
+// CHECK-MCPU-APPLE-A12-LABEL: "-target-cpu" "apple-a12"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+zcm"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+zcz"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+v8.3a"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+complxnum"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+fullfp16"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+jsconv"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+lse"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+pauth"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+ras"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+rcpc"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+rdm"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-APPLE-A12-NEXT: "-target-abi"
+// CHECK-MCPU-A34-LABEL: "-target-cpu" "cortex-a34"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-A34-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-A34-NEXT: "-target-abi"
+// CHECK-MCPU-APPLE-A13-LABEL: "-target-cpu" "apple-a13"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+zcm"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+zcz"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+v8.4a"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+complxnum"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+dotprod"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+fp16fml"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+fullfp16"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+jsconv"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+lse"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+pauth"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+ras"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+rcpc"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+rdm"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-feature" "+sha3"
+// CHECK-MCPU-APPLE-A13-NEXT: "-target-abi"
+// CHECK-MCPU-A35-LABEL: "-target-cpu" "cortex-a35"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-A35-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-A35-NEXT: "-target-abi"
+// CHECK-MCPU-A53-LABEL: "-target-cpu" "cortex-a53"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-A53-NEXT: "-target-feature" "+sha2"
+// CHECK-MCPU-A53-NEXT: "-target-abi"
+// CHECK-MCPU-A57-LABEL: "-target-cpu" "cortex-a57"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+v8a"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+aes"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+crc"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+fp-armv8"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+neon"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+perfmon"
+// CHECK-MCPU-A57-NEXT: "-target-feature" "+sha2"
+/...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/99365
More information about the cfe-commits
mailing list