[all-commits] [llvm/llvm-project] 76f377: [NFC][LoopVectorize] Restructure simple early exit...
David Sherwood via All-commits
all-commits at lists.llvm.org
Thu Oct 17 08:51:21 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76f377618532fe486d1fff1250598a73c55f4310
https://github.com/llvm/llvm-project/commit/76f377618532fe486d1fff1250598a73c55f4310
Author: David Sherwood <david.sherwood at arm.com>
Date: 2024-10-17 (Thu, 17 Oct 2024)
Changed paths:
A llvm/test/Transforms/LoopVectorize/early_exit_legality.ll
A llvm/test/Transforms/LoopVectorize/multi_early_exit.ll
A llvm/test/Transforms/LoopVectorize/multi_early_exit_live_outs.ll
R llvm/test/Transforms/LoopVectorize/simple_early_exit.ll
A llvm/test/Transforms/LoopVectorize/single_early_exit.ll
A llvm/test/Transforms/LoopVectorize/single_early_exit_live_outs.ll
A llvm/test/Transforms/LoopVectorize/single_early_exit_unsafe_ptrs.ll
A llvm/test/Transforms/LoopVectorize/unsupported_early_exit.ll
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list