diff options
author | David Sherwood <david.sherwood@arm.com> | 2024-10-17 16:50:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 16:50:59 +0100 |
commit | 76f377618532fe486d1fff1250598a73c55f4310 (patch) | |
tree | 8ef1df0ba22b22bda8243e9f4affa27a5f84f570 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | c85611e8583e6392d56075ebdfa60893b6284813 (diff) | |
download | llvm-76f377618532fe486d1fff1250598a73c55f4310.zip llvm-76f377618532fe486d1fff1250598a73c55f4310.tar.gz llvm-76f377618532fe486d1fff1250598a73c55f4310.tar.bz2 |
[NFC][LoopVectorize] Restructure simple early exit tests (#112721)
The previous simple_early_exit.ll was growing too large and difficult to
manage. Instead I've decided to refactor the tests by splitting out into
notional groups:
1. single_early_exit.ll: loops with a single uncountable exit that do
not have live-outs from the loop.
2. single_early_exit_live_outs.ll: loops with a single uncountable exit
with live-outs.
3. multi_early_exit.ll: loops with multiple early exits, i.e. a mixture
of countable and uncountable exits, but with no live-outs from the loop.
4. multi_early_exit_live_outs.ll: as above, but with live-outs.
5. single_early_exit_unsafe_ptrs.ll: loops with a single uncountable
exit, but with pointers that are not unconditionally dereferenceable.
6. unsupported_early_exit.ll: loops with uncountable exits that we
cannot yet vectorise.
7. early_exit_legality.ll: tests the debug output from
LoopVectorizationLegality to make sure we handle different scenarios
correctly.
Only the last test now requires asserts. Over time some of these tests
should start vectorising as more support is added.
I also tried to rename the multi early exit tests to make it clear there
what mixture of countable and uncountable exits are present.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions