summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-03-06 14:18:34 +0100
committerClifford Wolf <clifford@clifford.at>2014-03-06 14:18:34 +0100
commit9b9c3327ccf3a8e69f9af57333839f470df0ce66 (patch)
tree8871c90547605199fc115e20c19a3a3614695823 /passes
parent973507d85b0a20118f6a56ec787d44d6b574d3a6 (diff)
Fixed undef handling in opt_reduce
Diffstat (limited to 'passes')
-rw-r--r--passes/opt/opt_reduce.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/passes/opt/opt_reduce.cc b/passes/opt/opt_reduce.cc
index dd129981..fee8fb71 100644
--- a/passes/opt/opt_reduce.cc
+++ b/passes/opt/opt_reduce.cc
@@ -65,8 +65,8 @@ struct OptReduceWorker
continue;
}
if (chunk.wire == NULL) {
- new_sig_a = RTLIL::SigSpec(RTLIL::State::Sx);
- break;
+ new_sig_a.append(chunk);
+ continue;
}
bool imported_children = false;