projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f6d61
)
Preserve empty $pmux default cases
author
Clifford Wolf
<clifford@clifford.at>
Thu, 31 Mar 2016 07:57:23 +0000
(09:57 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 31 Mar 2016 07:57:23 +0000
(09:57 +0200)
passes/proc/proc_rmdead.cc
patch
|
blob
|
history
diff --git
a/passes/proc/proc_rmdead.cc
b/passes/proc/proc_rmdead.cc
index f60d4b30dc43c45c1432bee4fdbd5c1400b5b443..af17e8d38f17bf9dc03edb071ca4e58848d48594 100644
(file)
--- a/
passes/proc/proc_rmdead.cc
+++ b/
passes/proc/proc_rmdead.cc
@@
-51,8
+51,8
@@
void proc_rmdead(RTLIL::SwitchRule *sw, int &counter)
counter++;
continue;
}
- if (pool.empty())
-
sw->cases[i]->compare.clear();
+
//
if (pool.empty())
+
//
sw->cases[i]->compare.clear();
}
for (auto switch_it : sw->cases[i]->switches)