[llvm] [VPlan] Update final IV exit value via VPlan. (PR #112147)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 13:26:26 PST 2025
================
@@ -312,10 +312,12 @@ Value *VPTransformState::get(VPValue *Def, bool NeedsScalar) {
}
auto *LastInst = cast<Instruction>(get(Def, LastLane));
+ auto OldIP = Builder.saveIP();
+ // TODO: Remove once VPDerivedRecipe can be simplified, which requires
+ // vector trip count being modeled in VPlan.
// Set the insert point after the last scalarized instruction or after the
// last PHI, if LastInst is a PHI. This ensures the insertelement sequence
// will directly follow the scalar definitions.
----------------
fhahn wrote:
Done thanks
https://github.com/llvm/llvm-project/pull/112147
More information about the llvm-commits
mailing list