Skip to content
Commit 79660d33 authored by David Sherwood's avatar David Sherwood
Browse files

[LoopVectorize][AArch64] Add TTI hook preferPredicatedReductionSelect

By default if SVE is enabled we want the select instruction used for
reductions to be inside the loop, rather than outside. This makes it
possible for the backend to fold the select into the operation to
produce a single predicated add, fadd, etc.

Differential Revision: https://reviews.llvm.org/D129763
parent 07d69d9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment