[llvm] [VPlan] Migrate VPBuilder to VPInsertPt fully (NFC) (PR #209764)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 06:25:40 PDT 2026
================
@@ -2035,7 +2035,7 @@ static bool handleFirstArgMinOrMax(
InductionDescriptor::IK_IntInduction,
nullptr, // No FPBinOp for integer induction
WideIV->getStartValue(), FinalCanIV, WideIV->getStepValue());
- DerivedIVRecipe->insertBefore(&*Builder.getInsertPoint());
+ DerivedIVRecipe->insertBefore(Builder.getRecipeAtInsertPoint());
----------------
lukel97 wrote:
If the insert point is at the end won't this crash?
https://github.com/llvm/llvm-project/pull/209764
More information about the llvm-commits
mailing list