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:
9530ddc
)
Fix a problem that nate reduced for me.
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 05:17:00 +0000
(
05:17
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 13 May 2005 05:17:00 +0000
(
05:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21923
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index f5d6fd6120154e92ed235e66912b87d5ba00848a..793037930c0159f80c2cd75ff0f68cf86eec9dc2 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-2009,7
+2009,8
@@
static SDNode *FindCallSeqEnd(SDNode *Node) {
SDNode *User = *UI;
for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i)
if (User->getOperand(i) == TheChain)
- return FindCallSeqEnd(User);
+ if (SDNode *Result = FindCallSeqEnd(User))
+ return Result;
}
assert(0 && "Unreachable");
abort();