diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-22 14:13:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 13:13:31 +0100 |
commit | 37f0f10a857dad83dce225408fbd3c269b15bede (patch) | |
tree | fab30d9bc5153e04a11da434d723e8e2b061e172 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | da06b45d27f70485857dae6a1298350045dc25bd (diff) | |
download | llvm-37f0f10a857dad83dce225408fbd3c269b15bede.zip llvm-37f0f10a857dad83dce225408fbd3c269b15bede.tar.gz llvm-37f0f10a857dad83dce225408fbd3c269b15bede.tar.bz2 |
[LV] Don't vectorize epilogue with scalable VF if no iterations remain. (#149789)
Currently we may try to vectorize the epilogue with a scalable VF, even
if there are no remaining iterations after the main vector loop with a
fixed VF.
Update selectEpilogueVectorizationFactor to always compute the number of
remaining iterations and exit early if no epilogue iterations remain.
Fixes https://github.com/llvm/llvm-project/issues/149726
PR: https://github.com/llvm/llvm-project/pull/149789
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions