[flang-commits] [flang] [flang][test] Run Driver/fveclib-codegen.f90 for x86_64 (PR #103730)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Wed Aug 14 05:58:50 PDT 2024


================
@@ -1,7 +1,8 @@
 ! test that -fveclib= is passed to the backend
 ! -target aarch64 so that ArmPL is available
-! RUN: %flang -S -Ofast -fveclib=LIBMVEC -o - %s | FileCheck %s
-! RUN: %flang -S -Ofast -fveclib=NoLibrary -o - %s | FileCheck %s --check-prefix=NOLIB
+! REQUIRES: x86-registered-target
----------------
banach-space wrote:

Give your comment from the summary:
>  Given that glibc only supports libmvec on aarch64 and x86_64, this test needs to target either of those to work.

shouldn't this be enabled for AArch64 as well?

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


More information about the flang-commits mailing list