[llvm] [LoopVectorize] Add test case for minloc reduction (PR #141556)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 01:13:32 PDT 2025


================
@@ -0,0 +1,86 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes=loop-vectorize -force-vector-width=4 -S %s | FileCheck %s --check-prefix=CHECK-REV-MIN
----------------
Mel-Chen wrote:

Test with more configurations.
1. -force-vector-width=4 -force-vector-interleave=1 
2. -force-vector-width=4 -force-vector-interleave=2
3. -force-vector-width=1 -force-vector-interleave=4 

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


More information about the llvm-commits mailing list