projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f30d7f
)
opt_merge: unordered_map -> dict as per @cliffordwolf review
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 16 Mar 2020 19:44:33 +0000
(12:44 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 16 Mar 2020 19:44:33 +0000
(12:44 -0700)
passes/opt/opt_merge.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_merge.cc
b/passes/opt/opt_merge.cc
index 270e49a96ed1e803747e0b254235775ef9a9c496..4aa78ff39da0a91af78050a7ed75058749a01000 100644
(file)
--- a/
passes/opt/opt_merge.cc
+++ b/
passes/opt/opt_merge.cc
@@
-273,7
+273,7
@@
struct OptMergeWorker
}
did_something = false;
-
std::unordered_map
<std::string, RTLIL::Cell*> sharemap;
+
dict
<std::string, RTLIL::Cell*> sharemap;
for (auto cell : cells)
{
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())