mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Only check that the result of the mapping was not
a new node if the node was actually remapped. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60482 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
952b839ce9
commit
8b8e5a7f96
@ -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
Block a user