Skip to content

Commit 67f11ea

Browse files
committed
Move lineRemover to later phase
It does not make sense to have it so early in the pipeline: - it does not give much gain - after addition of empty lines removal it got really heavy for some inputs - most of stuff it removes is removed as side effect of other removers
1 parent 7307b6e commit 67f11ea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

source/SvBugpoint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ bool SvBugpoint::pass(const std::string& passIdx) {
230230

231231
auto tree = treeLoader.load(getMinimizedFile());
232232

233-
commited |= lineRemover(tree, "lineRemover", passIdx, this);
234233
commited |= rewriteLoop<BodyRemover>(tree, "bodyRemover", passIdx, this);
235234
commited |= rewriteLoop<InstantationRemover>(tree, "instantiationRemover", passIdx, this);
236235
commited |= rewriteLoop<BindRemover>(tree, "bindRemover", passIdx, this);
@@ -250,6 +249,7 @@ bool SvBugpoint::pass(const std::string& passIdx) {
250249
commited |= rewriteLoop<ModuleRemover>(tree, "moduleRemover", passIdx, this);
251250
commited |= rewriteLoop<TypeSimplifier>(tree, "typeSimplifier", passIdx, this);
252251
commited |= rewriteLoop<LabelRemover>(tree, "LabelRemover", passIdx, this);
252+
commited |= lineRemover(tree, "lineRemover", passIdx, this);
253253
}
254254

255255
return commited;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module full_adder (
1+
module full_adder3 (
22
input cin);
33
endmodule

0 commit comments

Comments
 (0)