[llvm] [VPlan] Update scalar induction resume values in VPlan. (PR #110577)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 13:28:05 PST 2024
================
@@ -532,6 +533,11 @@ class InnerLoopVectorizer {
/// count of the original loop for both main loop and epilogue vectorization.
void setTripCount(Value *TC) { TripCount = TC; }
+ std::pair<BasicBlock *, Value *>
+ getInductionBypassValue(PHINode *OrigPhi) const {
+ return InductionBypassValues.find(OrigPhi)->second;
----------------
fhahn wrote:
Updated, thanks!
https://github.com/llvm/llvm-project/pull/110577
More information about the llvm-commits
mailing list