diff options
author | David Sherwood <david.sherwood@arm.com> | 2022-07-14 11:45:41 +0100 |
---|---|---|
committer | David Sherwood <david.sherwood@arm.com> | 2022-07-20 09:33:29 +0100 |
commit | 79660d339e67248ad2c224bf85243b12644cbd0e (patch) | |
tree | 40cf94f838a7606b17afaeeb18fbb102e18cfc16 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 07d69d9fc90449a4c1bffd2afce098b0cc0a1a34 (diff) | |
download | llvm-79660d339e67248ad2c224bf85243b12644cbd0e.zip llvm-79660d339e67248ad2c224bf85243b12644cbd0e.tar.gz llvm-79660d339e67248ad2c224bf85243b12644cbd0e.tar.bz2 |
[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
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions