Adds -prefer-inloop-reductions to the RUN line of sve-tail-folding.ll & adds
a new test where in-loop reductions cannot be used (@cond_xor_reduction). NFC.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM!
llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll | ||
---|---|---|
687 | nit: I think you'll need to rebase the patch before merging because we now use the get.active.lane.mask intrinsic to generate the loop predicate. | |
709 | I think the reason why we don't use in-loop reductions here is because it's a conditional reduction, right? | |
711 | nit: I think you can just delete everything from this line onwards because we'll never reach the scalar tail anyway. |
nit: I think you'll need to rebase the patch before merging because we now use the get.active.lane.mask intrinsic to generate the loop predicate.