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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 6 06:25:01 PST 2024


================
@@ -0,0 +1,1455 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -passes=loop-vectorize -force-vector-interleave=1 -enable-epilogue-vectorization=false -force-target-instruction-cost=1 -S < %s | FileCheck %s --check-prefixes=CHECK-INTERLEAVE1
+; RUN: opt -passes=loop-vectorize -force-target-instruction-cost=1 -enable-epilogue-vectorization=false -S < %s | FileCheck %s --check-prefixes=CHECK-INTERLEAVED
----------------
fhahn wrote:

Ah I see, although wouldn't it be sufficient in that case to pass `-vectorizer-maximize-bandwidth` assuming the patch I am thinking of is https://github.com/llvm/llvm-project/pull/109671/files?

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


More information about the llvm-commits mailing list