[llvm] [LoopVectorizer] Add support for chaining partial reductions (PR #120272)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 03:30:44 PST 2025


================
@@ -0,0 +1,568 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -S -o - %s --passes=loop-vectorize -force-vector-width=16 -force-vector-interleave=1 -scalable-vectorization=on | FileCheck %s
----------------
SamTebbs33 wrote:

Is `-scalable-vectorisation` required if we have SVE enabled? I think it would be better to add these tests to the existing partial reduction test files, unless there's a reason why they can't share run lines. If there is a reason for that then we'll want a file for neon and a file for mixed extend types.

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


More information about the llvm-commits mailing list