diff options
author | David Sherwood <david.sherwood@arm.com> | 2024-12-18 09:25:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 09:25:45 +0000 |
commit | 13107cb09441dfeab24fcbcae9f4d3ba4cfc2703 (patch) | |
tree | c3b8fb508508f14c718282d638d890e304d07931 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp | |
parent | 96bb281b636a30f5896c48035cca55807f105a56 (diff) | |
download | llvm-13107cb09441dfeab24fcbcae9f4d3ba4cfc2703.zip llvm-13107cb09441dfeab24fcbcae9f4d3ba4cfc2703.tar.gz llvm-13107cb09441dfeab24fcbcae9f4d3ba4cfc2703.tar.bz2 |
[LoopVectorize] Enable more early exit vectorisation tests (#117008)
PR #112138 introduced initial support for dispatching to
multiple exit blocks via split middle blocks. This patch
fixes a few issues so that we can enable more tests to use
the new enable-early-exit-vectorization flag. Fixes are:
1. The code to bail out for any loop live-out values happens
too late. This is because collectUsersInExitBlocks ignores
induction variables, which get dealt with in fixupIVUsers.
I've moved the check much earlier in processLoop by looking
for outside users of loop-defined values.
2. We shouldn't yet be interleaving when vectorising loops
with uncountable early exits, since we've not added support
for this yet.
3. Similarly, we also shouldn't be creating vector epilogues.
4. Similarly, we shouldn't enable tail-folding.
5. The existing implementation doesn't yet support loops
that require scalar epilogues, although I plan to add that
as part of PR #88385.
6. The new split middle blocks weren't being added to the
parent loop.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions