Only check that the result of the mapping was not
a new node if the node was actually remapped. llvm-svn: 60482
This commit is contained in:
parent
cda011b5ad
commit
f52e518d05
|
@ -385,6 +385,7 @@ void DAGTypeLegalizer::RemapValue(SDValue &N) {
|
|||
// replaced with other values.
|
||||
RemapValue(I->second);
|
||||
N = I->second;
|
||||
assert(N.getNode()->getNodeId() != NewNode && "Mapped to unanalyzed node!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue