[llvm] [LV] Support EVL for partial reduction and VPExpressionRecipe. (PR #205741)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 23:01:21 PDT 2026


================
@@ -0,0 +1,1252 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -passes=loop-vectorize -vplan-print-after="optimizeEVLMasks" -mtriple riscv64 -mattr=+v,+experimental-zvdot4a8i -force-vector-width=4 -scalable-vectorization=on -prefer-inloop-reductions -disable-output %s 2>&1 | FileCheck %s
+
+; Tests for printing VPlans with reductions.
+
+define float @print_reduction(i64 %n, ptr noalias %y) {
----------------
fhahn wrote:

this just checks printing of the reducitons in the loop region, right? There's an option to only print loop regions i think, would be good to use here

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


More information about the llvm-commits mailing list