================
@@ -94,6 +94,10 @@
// C1-PREMIUM: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu"
"c1-premium"
// RUN: %clang --target=aarch64 -mcpu=c1-ultra -### -c %s 2>&1 | FileCheck
-check-prefix=C1-ULTRA %s
// C1-ULTRA: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "c1-ultra"
+// RUN: %clang --target=aarch64 -mcpu=c2-pro -### -c %s 2>&1 | FileCheck
-check-prefix=C2-PRO %s
+// C2-PRO: "-cc1"{{.*}} "-triple" "aarch64{{.*}}" "-target-cpu" "c1-pro"
----------------
dobri01 wrote:
I think it should be c1-pro. "c2-pro" here is defined as an alias for c1-pro,
and the driver resolved the alias before passing -target-cpu to cc1. So this
would be the same case as "armagicpu" -> neoverse-v3ae.
https://github.com/llvm/llvm-project/pull/229055
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits