[llvm] LLVM/Test: Add vectorizing testcases for fminimumnum and fminimumnum (PR #133690)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 31 17:32:37 PDT 2025


================
@@ -0,0 +1,489 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; FIXME: fmaximumnum/fminimumnum have no vectorizing support yet.
+; RUN: opt --passes=loop-vectorize --mtriple=riscv64 -mattr="+zvfh,+v" -S < %s | FileCheck %s --check-prefix=RV64
+; RUN: opt --passes=loop-vectorize --mtriple=aarch64 -mattr="+neon" -S < %s | FileCheck %s --check-prefix=ARM64
+; RUN: opt --passes=loop-vectorize --mtriple=x86_64 -S < %s | FileCheck %s --check-prefix=X64
----------------
arsenm wrote:

Cannot share targets in a test like this, this is going to break if this full set of targets is not built. This needs to be duplicated in each target subdirectory 

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


More information about the llvm-commits mailing list