diff options
author | Florian Hahn <flo@fhahn.com> | 2025-01-14 22:07:38 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2025-01-14 22:07:38 +0000 |
commit | 1de3dc7d23dd6b856efad3a3a04f2396328726d7 (patch) | |
tree | 2c67102830348db39048d2e8b022ee1956d53fbd /llvm/docs/CommandGuide | |
parent | 25f28ddd69ed2453726c0934ba6feea8ae6f10f8 (diff) | |
download | llvm-1de3dc7d23dd6b856efad3a3a04f2396328726d7.zip llvm-1de3dc7d23dd6b856efad3a3a04f2396328726d7.tar.gz llvm-1de3dc7d23dd6b856efad3a3a04f2396328726d7.tar.bz2 |
[LV] Bail out early if BTC+1 wraps.
Currently we fail to detect the case where BTC + 1 wraps, i.e. the
vector trip count is 0, In those cases, the minimum iteration count
check will fail, and the vector code will never be executed.
Explicitly check for this condition in computeMaxVF and avoid trying to
vectorize alltogether.
Note that a number of tests needed to be updated, because the vector
loop would never be executed given the input IR.
Fixes https://github.com/llvm/llvm-project/issues/122558.
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions