[llvm] [LV] Enable auto-vectorisation of loops with uncountable exits (PR #133099)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 09:25:32 PDT 2025
david-arm wrote:
> Sounds like the two options should both exclude each other?
>
> * disable `early-exit-vectorization` if `force-vector-interleave` is enabled,
> * disable `force-vector-interleave` if `early-exit-vectorization` is enabled,
I don't really see why? If a loop happens to have early exit loops we can easily disable interleaving and still get the benefit of vectorising, right? For all other loops we will still perform interleaving as requested. I personally think that seems better than not vectorising early exit loops at all.
https://github.com/llvm/llvm-project/pull/133099
More information about the llvm-commits
mailing list