diff options
author | Shih-Po Hung <shihpo.hung@sifive.com> | 2025-09-05 08:20:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-05 08:20:16 +0800 |
commit | 9876b06bc7c2dc37d068d46a2c940978a6cb50f7 (patch) | |
tree | a4ba35ed788147d6c1014a10324c519087788b7a /clang-tools-extra/clang-tidy/linuxkernel | |
parent | a5f6db4b0d3d576f4ba9bd80d9cdf0b74cec8aa0 (diff) | |
download | llvm-9876b06bc7c2dc37d068d46a2c940978a6cb50f7.zip llvm-9876b06bc7c2dc37d068d46a2c940978a6cb50f7.tar.gz llvm-9876b06bc7c2dc37d068d46a2c940978a6cb50f7.tar.bz2 |
[LV] Add initial legality checks for loops with unbound loads. (#152422)
This patch splits out the legality checks from PR #151300, following the
landing of PR #128593.
It is a step toward supporting vectorization of early-exit loops that
contain potentially faulting loads.
In this commit, an early-exit loop is considered legal for vectorization
if it satisfies the following criteria:
1. it is a read-only loop.
2. all potentially faulting loads are unit-stride, which is the only
type currently supported by vp.load.ff.
Diffstat (limited to 'clang-tools-extra/clang-tidy/linuxkernel')
0 files changed, 0 insertions, 0 deletions