aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-05-01 09:01:47 +0200
committerClifford Wolf <clifford@clifford.at>2019-05-01 09:02:39 +0200
commit59d74a334889a17817bbf0c5d3bdef4c59df0c5b (patch)
treecd3542e6cec3f189f1bfa2a46754346aa299fd5c
parent32ff37bb5a8cec79e8cbcfac4075cc553fa9a394 (diff)
downloadyosys-59d74a334889a17817bbf0c5d3bdef4c59df0c5b.tar.gz
yosys-59d74a334889a17817bbf0c5d3bdef4c59df0c5b.tar.bz2
yosys-59d74a334889a17817bbf0c5d3bdef4c59df0c5b.zip
Re-enable "final loop assignment" feature
Signed-off-by: Clifford Wolf <clifford@clifford.at>
-rw-r--r--frontends/ast/simplify.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 4d4b9dfe1..a342bf5d9 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -1172,14 +1172,12 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
varbuf->children[0] = buf;
}
-#if 0
if (type == AST_FOR) {
AstNode *buf = next_ast->clone();
delete buf->children[1];
buf->children[1] = varbuf->children[0]->clone();
current_block->children.insert(current_block->children.begin() + current_block_idx++, buf);
}
-#endif
current_scope[varbuf->str] = backup_scope_varbuf;
delete varbuf;