diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-05-01 09:01:47 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-05-01 09:02:39 +0200 |
commit | 59d74a334889a17817bbf0c5d3bdef4c59df0c5b (patch) | |
tree | cd3542e6cec3f189f1bfa2a46754346aa299fd5c | |
parent | 32ff37bb5a8cec79e8cbcfac4075cc553fa9a394 (diff) | |
download | yosys-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.cc | 2 |
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; |