extract_reduce: Fix segfault on "undriven" inputs
authorRobert Ou <rqou@robertou.com>
Tue, 12 Sep 2017 21:21:04 +0000 (14:21 -0700)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Thu, 14 Sep 2017 19:54:44 +0000 (12:54 -0700)
commitab1bf8d661d3edd865c1b425535b81e8fba9d58d
tree0fbc866fecd9c8563265a5730ec79b9143b2de66
parentf9d023c53fedd96ec1b9d3a93d0448291a1f2527
extract_reduce: Fix segfault on "undriven" inputs

This is easily triggered when un-techmapping if the technology-specific
cell library isn't loaded. Outputs of technology-specific cells will be
seen as inputs, and nets using those outputs will be seen as undriven.
Just ignore these cells because they can't be part of a reduce chain
anyways.
passes/techmap/extract_reduce.cc