aboutsummaryrefslogtreecommitdiffstats
path: root/frontends
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-05-06 20:53:38 +0200
committerGitHub <noreply@github.com>2019-05-06 20:53:38 +0200
commit1706798f4e595266a8758ae6d0ff9d978299de10 (patch)
tree0d10761c6af8f94ad68648ecb0365a628c2ec762 /frontends
parent7bab7b3d498a3706f1aaf9b6caa5ba037196bf40 (diff)
parentd187be39d608966f53d6c2ba4d45de94a584d476 (diff)
downloadyosys-1706798f4e595266a8758ae6d0ff9d978299de10.tar.gz
yosys-1706798f4e595266a8758ae6d0ff9d978299de10.tar.bz2
yosys-1706798f4e595266a8758ae6d0ff9d978299de10.zip
Merge pull request #975 from YosysHQ/clifford/fix968
Re-enable "final loop assignment" feature and fix opt_clean warnings
Diffstat (limited to 'frontends')
-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 d6561682a..e947125bf 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;