mirror of https://github.com/YosysHQ/abc.git
Potential performance bug in the mapper.
This commit is contained in:
parent
9eb3a3b349
commit
66ef4a9ac1
|
|
@ -288,7 +288,7 @@ int Map_MatchNodePhase( Map_Man_t * p, Map_Node_t * pNode, int fPhase )
|
|||
for ( pCut = pNode->pCuts->pNext; pCut; pCut = pCut->pNext )
|
||||
{
|
||||
// limit gate sizes based on fanout count
|
||||
if ( p->fSkipFanout && (pNode->nRefs > 3 && pCut->nLeaves > 2) || (pNode->nRefs > 1 && pCut->nLeaves > 3) )
|
||||
if ( p->fSkipFanout && ((pNode->nRefs > 3 && pCut->nLeaves > 2) || (pNode->nRefs > 1 && pCut->nLeaves > 3)) )
|
||||
continue;
|
||||
pMatch = pCut->M + fPhase;
|
||||
if ( pMatch->pSupers == NULL )
|
||||
|
|
|
|||
Loading…
Reference in New Issue