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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:48:37 PDT 2024


================
@@ -2985,33 +2977,30 @@ class VPlan {
   void setName(const Twine &newName) { Name = newName.str(); }
 
   void addVPValue(Value *V, VPValue *VPV) {
-    assert((Value2VPValueEnabled || VPV->isLiveIn()) &&
-           "Value2VPValue mapping may be out of date!");
-    assert(V && "Trying to add a null Value to VPlan");
-    assert(!Value2VPValue.count(V) && "Value already exists in VPlan");
----------------
fhahn wrote:

retained, thanks!

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


More information about the llvm-commits mailing list