[llvm] [LV] Re-org tests; introduce iv-select-cmp-decreasing.ll (PR #141769)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 01:01:13 PDT 2025
================
@@ -0,0 +1,202 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals none --version 5
+; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -force-vector-width=4 -S < %s | FileCheck %s
+; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=4 -S < %s | FileCheck %s
+; RUN: opt -passes=loop-vectorize -force-vector-interleave=4 -force-vector-width=1 -S < %s | FileCheck %s
+
+define i64 @not_vectorized_select_decreasing_induction_icmp_const_start(ptr %a) {
----------------
Mel-Chen wrote:
Maybe we don’t need the `not_vectorized` prefix here, as this function can actually be vectorized.
https://github.com/llvm/llvm-project/pull/141769
More information about the llvm-commits
mailing list