[llvm] [VPlan] Move recording of Inst->VPValue to VPRecipeBuilder (NFCI). (PR #84464)
Kolya Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 09:13:56 PDT 2024
================
@@ -7938,7 +7950,7 @@ VPValue *VPRecipeBuilder::createEdgeMask(BasicBlock *Src, BasicBlock *Dst,
if (OrigLoop->isLoopExiting(Src))
return EdgeMaskCache[Edge] = SrcMask;
- VPValue *EdgeMask = Plan.getVPValueOrAddLiveIn(BI->getCondition());
+ VPValue *EdgeMask = getVPValueOrAddLiveIn(BI->getCondition(), Plan);
----------------
nikolaypanchenko wrote:
Does it make more sense to move `VPlan` to `VPRecipeBuilder` ?
https://github.com/llvm/llvm-project/pull/84464
More information about the llvm-commits
mailing list