Disable opt_merge for $anyseq and $anyconst
authorClifford Wolf <clifford@clifford.at>
Tue, 28 Feb 2017 21:17:00 +0000 (22:17 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 28 Feb 2017 21:17:00 +0000 (22:17 +0100)
passes/opt/opt_merge.cc

index 07e4dd39ffcb4a63774510e82f9b1f0edda8d03d..b63fd3c8d8f7a0236f392994842e89bdce6e051f 100644 (file)
@@ -275,6 +275,9 @@ struct OptMergeWorker
                        ct.cell_types.erase("$pmux");
                }
 
+               ct.cell_types.erase("$anyseq");
+               ct.cell_types.erase("$anyconst");
+
                log("Finding identical cells in module `%s'.\n", module->name.c_str());
                assign_map.set(module);