From 83bd27bf6e7b632c78bd9d6741c42297c2819fdf Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 25 Oct 2015 02:15:20 +0200 Subject: [PATCH] equiv_struct now creates equiv_merged attributes --- passes/equiv/equiv_struct.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/passes/equiv/equiv_struct.cc b/passes/equiv/equiv_struct.cc index d231913c2..eae6d0fcf 100644 --- a/passes/equiv/equiv_struct.cc +++ b/passes/equiv/equiv_struct.cc @@ -107,6 +107,9 @@ struct EquivStructWorker equiv_bits.add(sig_b, sig_a); } + auto merged_attr = cell_b->get_strpool_attribute("\\equiv_merged"); + merged_attr.insert(log_id(cell_b)); + cell_a->add_strpool_attribute("\\equiv_merged", merged_attr); module->remove(cell_b); } } -- 2.30.2