[llvm] [VPlan] Move recording of Inst->VPValue to VPRecipeBuilder (NFCI). (PR #84464)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 23 09:47:11 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);
----------------
fhahn wrote:

Forgot to mention, this has been split off & landed in 8578b6e9120cb2fc8a7fc102587d617144c35532, thanks!

https://github.com/llvm/llvm-project/pull/84464


More information about the llvm-commits mailing list