aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2017-01-15 09:43:15 -0800
committerAndrew Zonenberg <azonenberg@drawersteak.com>2017-01-15 09:43:15 -0800
commit0c83a30f950d766ddd09bb744ee93e2433095b5c (patch)
treeebcd15a0e73b9737d64a723a20214960d033e467 /frontends/ast
parentac90de73becaeac034b226def9c387645698c363 (diff)
parent78f65f89ffc1d5c5237009c19e84e625ce3085aa (diff)
downloadyosys-0c83a30f950d766ddd09bb744ee93e2433095b5c.tar.gz
yosys-0c83a30f950d766ddd09bb744ee93e2433095b5c.tar.bz2
yosys-0c83a30f950d766ddd09bb744ee93e2433095b5c.zip
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/simplify.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index de85355b5..c1e77c6ec 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -3079,6 +3079,8 @@ bool AstNode::mem2reg_as_needed_pass2(pool<AstNode*> &mem2reg_set, AstNode *mod,
if (bit_part_sel)
children.push_back(bit_part_sel);
+
+ did_something = true;
}
log_assert(id2ast == NULL || mem2reg_set.count(id2ast) == 0);