[PATCH] D117578: [LoopVectorize] Test in-loop reductions with tail folding for scalable vectors
Kerry McLaughlin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 06:41:33 PST 2022
kmclaughlin added inline comments.
================
Comment at: llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll:709
+; CHECK: middle.block:
+; CHECK-NEXT: [[TMP25:%.*]] = call i32 @llvm.vector.reduce.xor.nxv4i32(<vscale x 4 x i32> [[TMP21]])
+; CHECK-NEXT: br i1 true, label [[FOR_END:%.*]], label [[SCALAR_PH]]
----------------
david-arm wrote:
> I think the reason why we don't use in-loop reductions here is because it's a conditional reduction, right?
Yes, this test changes to use in-loop reductions in D117580 which adds support for conditional reductions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117578/new/
https://reviews.llvm.org/D117578
More information about the llvm-commits
mailing list