[llvm] [LV] Skip low-trip count logic there is no scalar tail (PR #225633)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 01:26:23 PDT 2026


fhahn wrote:

> Would it be better to ensure the Loop Latch is in the same block as the loop exiting block? I was working on a patch to fix that same issue. Otherwise loops where TC == VF * IC miss out on this transformation.

One thing I am worried about is that we may miss other cases where we require a scalar epilogue, and may miss updating the place in the future

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


More information about the llvm-commits mailing list