3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 01:54:10 +00:00

Disabled "final loop assignment" feature

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2019-04-30 20:22:50 +02:00
parent 9c7d23446d
commit e35fe1344d

View file

@ -1172,12 +1172,14 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
varbuf->children[0] = buf; varbuf->children[0] = buf;
} }
#if 0
if (type == AST_FOR) { if (type == AST_FOR) {
AstNode *buf = next_ast->clone(); AstNode *buf = next_ast->clone();
delete buf->children[1]; delete buf->children[1];
buf->children[1] = varbuf->children[0]->clone(); buf->children[1] = varbuf->children[0]->clone();
current_block->children.insert(current_block->children.begin() + current_block_idx++, buf); current_block->children.insert(current_block->children.begin() + current_block_idx++, buf);
} }
#endif
current_scope[varbuf->str] = backup_scope_varbuf; current_scope[varbuf->str] = backup_scope_varbuf;
delete varbuf; delete varbuf;