[llvm-commits] [llvm] r60482 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Duncan Sands
baldrick at free.fr
Wed Dec 3 04:36:17 PST 2008
Author: baldrick
Date: Wed Dec 3 06:36:16 2008
New Revision: 60482
URL: http://llvm.org/viewvc/llvm-project?rev=60482&view=rev
Log:
Only check that the result of the mapping was not
a new node if the node was actually remapped.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp?rev=60482&r1=60481&r2=60482&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Wed Dec 3 06:36:16 2008
@@ -385,6 +385,7 @@
// replaced with other values.
RemapValue(I->second);
N = I->second;
+ assert(N.getNode()->getNodeId() != NewNode && "Mapped to unanalyzed node!");
}
}
More information about the llvm-commits
mailing list