aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-03-31 09:57:23 +0200
committerClifford Wolf <clifford@clifford.at>2016-03-31 09:57:23 +0200
commite5dd5c0bcccd4e79921e6a28b550a5960a93ee07 (patch)
treefaa9a95628bbc8ae78d48a3574a18ab87c5fc778 /passes
parente2f6d61c004776f2f573f3c5b70ad352ce6b4e1a (diff)
downloadyosys-e5dd5c0bcccd4e79921e6a28b550a5960a93ee07.tar.gz
yosys-e5dd5c0bcccd4e79921e6a28b550a5960a93ee07.tar.bz2
yosys-e5dd5c0bcccd4e79921e6a28b550a5960a93ee07.zip
Preserve empty $pmux default cases
Diffstat (limited to 'passes')
-rw-r--r--passes/proc/proc_rmdead.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/proc/proc_rmdead.cc b/passes/proc/proc_rmdead.cc
index f60d4b30d..af17e8d38 100644
--- 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)