From b3348a38d0e46d468f5fea88abfe7501e04345bc Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Mon, 4 Nov 2024 13:48:55 +0100 Subject: [PATCH] Internals: Remove repeated clearing of constraints (#5583) Signed-off-by: Ryszard Rozak --- src/V3Randomize.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/V3Randomize.cpp b/src/V3Randomize.cpp index 49ef24aff..c248c112e 100644 --- a/src/V3Randomize.cpp +++ b/src/V3Randomize.cpp @@ -1883,7 +1883,6 @@ class RandomizeVisitor final : public VNVisitor { AstTask* setupAllTaskp = getCreateConstraintSetupFunc(nodep); AstTaskRef* const setupTaskRefp = new AstTaskRef{fl, setupAllTaskp->name(), nullptr}; setupTaskRefp->taskp(setupAllTaskp); - randomizep->addStmtsp(implementConstraintsClear(fl, genp)); randomizep->addStmtsp(setupTaskRefp->makeStmt()); AstNodeModule* const genModp = VN_AS(genp->user2p(), NodeModule);