[llvm] [VPlan] Connect Entry to scalar preheader during initial construction. (PR #140132)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue May 27 05:51:21 PDT 2025
================
@@ -490,7 +490,7 @@ class InnerLoopVectorizer {
MinProfitableTripCount(MinProfitableTripCount), UF(UnrollFactor),
Builder(PSE.getSE()->getContext()), Cost(CM), BFI(BFI), PSI(PSI),
RTChecks(RTChecks), Plan(Plan),
- VectorPHVPB(Plan.getEntry()->getSingleSuccessor()) {}
+ VectorPHVPB(Plan.getVectorLoopRegion()->getSinglePredecessor()) {}
----------------
fhahn wrote:
Sounds good!
https://github.com/llvm/llvm-project/pull/140132
More information about the llvm-commits
mailing list