[llvm] [LV] Transform to handle exits in the scalar loop (PR #148626)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 18 01:10:13 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)
----------------
fhahn wrote:
Yep, hence my qeustion here (https://github.com/llvm/llvm-project/pull/148626/files/3e5b9d9aa18afaf6aa9f71f374a0eafc9e4e10ca#r2533448617) + suggestion to add a VPlan printing test to see what exactly the plan looks like
https://github.com/llvm/llvm-project/pull/148626
More information about the llvm-commits
mailing list