projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
952b839
)
Only check that the result of the mapping was not
author
Duncan Sands
<baldrick@free.fr>
Wed, 3 Dec 2008 12:36:16 +0000
(12:36 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Wed, 3 Dec 2008 12:36:16 +0000
(12:36 +0000)
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
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index 0573b6dd3563e933310faf6496411e40ee502e73..84dfdc7a7ff285fffb33e07e2a232978261ec913 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@
-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!");
}
}