[llvm] LLVM/Test: Add vectorizing testcases for fminimumnum and fminimumnum (PR #133843)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 31 23:56:30 PDT 2025
================
@@ -0,0 +1,516 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt --passes=slp-vectorizer --mtriple=aarch64 -mattr="+neon" -S < %s | FileCheck %s
+
+ at input1_f32 = dso_local local_unnamed_addr global [9 x float] zeroinitializer, align 16
+ at input2_f32 = dso_local local_unnamed_addr global [9 x float] zeroinitializer, align 16
+ at output_f32 = dso_local local_unnamed_addr global [9 x float] zeroinitializer, align 16
+ at input1_f64 = dso_local local_unnamed_addr global [9 x double] zeroinitializer, align 16
+ at input2_f64 = dso_local local_unnamed_addr global [9 x double] zeroinitializer, align 16
+ at output_f64 = dso_local local_unnamed_addr global [9 x double] zeroinitializer, align 16
+ at input1_f16 = dso_local local_unnamed_addr global [9 x half] zeroinitializer, align 16
+ at input2_f16 = dso_local local_unnamed_addr global [9 x half] zeroinitializer, align 16
+ at output_f16 = dso_local local_unnamed_addr global [9 x half] zeroinitializer, align 16
+
+define dso_local void @fmin32() local_unnamed_addr {
----------------
arsenm wrote:
```suggestion
define void @fmin32() {
```
LGTM but can drop all these unnecessary qualifiers on the globals and functions
https://github.com/llvm/llvm-project/pull/133843
More information about the llvm-commits
mailing list