[llvm] [LV] Transform to handle exits in the scalar loop (PR #148626)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 08:26:46 PST 2025
================
@@ -4224,12 +4232,17 @@ class VPlan {
/// Returns the preheader of the vector loop region, if one exists, or null
/// otherwise.
VPBasicBlock *getVectorPreheader() {
+ if (EarlyExitPreheader)
----------------
david-arm wrote:
Did you manage to find a way to get this from the CFG, rather than maintaining an internal `EarlyExitPreheader` variable?
https://github.com/llvm/llvm-project/pull/148626
More information about the llvm-commits
mailing list