[clang] [AArch64] add some more tests for FMV (PR #91490)

Tomas Matheson via cfe-commits cfe-commits at lists.llvm.org
Wed May 8 11:01:31 PDT 2024


================
@@ -0,0 +1,25 @@
+// Test which driver flags enable/disable Function Multiversioning on aarch64.
+
+// FMV is enabled for non-android aarch64 targets:
+// RUN: %clang --target=aarch64 --rtlib=compiler-rt -### -c %s 2>&1 | FileCheck -check-prefix=FMV-ENABLED %s
+// RUN: %clang --target=aarch64-linux-gnu --rtlib=compiler-rt -### -c %s 2>&1 | FileCheck -check-prefix=FMV-ENABLED %s
----------------
tmatheson-arm wrote:

Done.

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


More information about the cfe-commits mailing list