[llvm] [LV] Bundle (partial) reductions with a mul of a constant (PR #162503)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 28 09:44:03 PDT 2025
================
@@ -800,3 +800,545 @@ exit:
%r.0.lcssa = phi i64 [ %rdx.next, %loop ]
ret i64 %r.0.lcssa
}
+
+define i32 @print_mulacc_extended_const(ptr %start, ptr %end) {
+; CHECK-LABEL: 'print_mulacc_extended_const'
+; CHECK: VPlan 'Initial VPlan for VF={4},UF>=1' {
+; CHECK-NEXT: Live-in vp<%0> = VF
+; CHECK-NEXT: Live-in vp<%1> = VF * UF
+; CHECK-NEXT: Live-in vp<%2> = vector-trip-count
----------------
fhahn wrote:
would be good to use variables here, some for other vp<> values, to make the test easier to maintain down the line
https://github.com/llvm/llvm-project/pull/162503
More information about the llvm-commits
mailing list