[llvm] [VPlan] Move recording of Inst->VPValue to VPRecipeBuilder (NFCI). (PR #84464)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 05:07:34 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");
----------------
ayalz wrote:
Worth retaining these asserts?
https://github.com/llvm/llvm-project/pull/84464
More information about the llvm-commits
mailing list