[llvm] [LV] Transform to handle exits in the scalar loop (PR #148626)

Graham Hunter via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 29 09:43:58 PDT 2025


huntergr-arm wrote:

Rebased on top of #152530

Added a new test with a non-constant trip count (and dereferenceable assume), changed approach slightly to use a masked load for the uncountable exit data for the next vector iteration; without that, we would need to bail out one vector iteration early even if there's a full vector's worth of data remaining.

https://github.com/llvm/llvm-project/pull/148626


More information about the llvm-commits mailing list