diff options
| author | David Sherwood <david.sherwood@arm.com> | 2022-07-12 12:03:39 +0100 |
|---|---|---|
| committer | David Sherwood <david.sherwood@arm.com> | 2022-07-21 17:20:06 +0100 |
| commit | f15b6b2907ef9da20a015be131fba9409db0670d (patch) | |
| tree | 4e0862c1867765b14e2e28f8d9093649e73bed22 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | b5871dfaf31873e6172f8a3fcd1e01e54498c811 (diff) | |
| download | llvm-f15b6b2907ef9da20a015be131fba9409db0670d.zip llvm-f15b6b2907ef9da20a015be131fba9409db0670d.tar.gz llvm-f15b6b2907ef9da20a015be131fba9409db0670d.tar.bz2 | |
[AArch64] Add target hook for preferPredicateOverEpilogue
This patch adds the AArch64 hook for preferPredicateOverEpilogue,
which currently returns true if SVE is enabled and one of the
following conditions (non-exhaustive) is met:
1. The "sve-tail-folding" option is set to "all", or
2. The "sve-tail-folding" option is set to "all+noreductions"
and the loop does not contain reductions,
3. The "sve-tail-folding" option is set to "all+norecurrences"
and the loop has no first-order recurrences.
Currently the default option is "disabled", but this will be
changed in a later patch.
I've added new tests to show the options behave as expected here:
Transforms/LoopVectorize/AArch64/sve-tail-folding-option.ll
Differential Revision: https://reviews.llvm.org/D129560
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
