[llvm-branch-commits] [llvm] [LV] Choose best reduction for VPlan (PR #166138)
Sam Tebbs via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 3 02:41:31 PST 2025
================
@@ -0,0 +1,136 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -S -mcpu=neoverse-v2 -passes=loop-vectorize -mtriple=aarch64 < %s | FileCheck %s
+target triple = "aarch64"
+
+; Check that a partial reduction is reverted back to a regular reduction,
----------------
SamTebbs33 wrote:
Could you add some check statements that make sure that the reversion to a normal reduction happened? I think we'll also want a test with a subtract, as well as chained add and chained subtract.
https://github.com/llvm/llvm-project/pull/166138
More information about the llvm-branch-commits
mailing list