[clang] [llvm] [TargetLibraryInfo] Add libmvec support for risc-v (PR #119844)

Mark Goncharov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 00:12:29 PST 2024


================
@@ -110,7 +114,7 @@
 // CHECK-ENABLED-LAST: math errno enabled by '-ffp-model=strict' after it was implicitly disabled by '-fveclib=ArmPL', this may limit the utilization of the vector library [-Wmath-errno-enabled-with-veclib]
 
 /* Verify no warning when math-errno is re-enabled for a different veclib (that does not imply -fno-math-errno). */
-// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=ArmPL -fmath-errno -fveclib=LIBMVEC %s 2>&1 | FileCheck --check-prefix=CHECK-REPEAT-VECLIB %s
+// RUN: %clang -### --target=aarch64-linux-gnu -fveclib=ArmPL -fmath-errno -fveclib=LIBMVEC-X86 %s 2>&1 | FileCheck --check-prefix=CHECK-REPEAT-VECLIB %s
----------------
mga-sc wrote:

Why did you leave x86 for arm here?

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


More information about the llvm-commits mailing list