projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7d234
)
Disabled "final loop assignment" feature
author
Clifford Wolf
<clifford@clifford.at>
Tue, 30 Apr 2019 18:22:50 +0000
(20:22 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 30 Apr 2019 18:22:50 +0000
(20:22 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index a342bf5d92a33f2c2a740592835ce75b626ff85b..4d4b9dfe11fc70019349df17905d87ab82aedee3 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-1172,12
+1172,14
@@
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;