rtlil_bufnorm: fix cell deletion deferral bug

This commit is contained in:
Emil J. Tywoniak
2026-09-17 14:12:38 +02:00
parent 8cf327c769
commit 696f7dc173
+2 -2
View File
@@ -91,9 +91,9 @@ struct RTLIL::SigNormIndex
else
cells_to_remove.push_back(cell);
for (auto cell : cells_to_remove)
module->remove(cell);
}
for (auto cell : cells_to_remove)
module->remove(cell);
for (auto portname : module->ports) {
Wire *wire = module->wire(portname);