OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d44b7c1
)
Correctly handle calls with no return values. This fixes
author
Dan Gohman
<gohman@apple.com>
Tue, 7 Oct 2008 00:12:37 +0000
(
00:12
+0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 7 Oct 2008 00:12:37 +0000
(
00:12
+0000)
2006-01-23-UnionInit on x86-64 when inlining is not enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57223
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index
7690250
..
76aecc3
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@
-5337,7
+5337,7
@@
TargetLowering::LowerCallTo(SDValue Chain, const Type *RetTy,
Chain = Res.getValue(LoweredRetTys.size() - 1);
// Gather up the call result into a single value.
- if (RetTy != Type::VoidTy) {
+ if (RetTy != Type::VoidTy
&& !RetTys.empty()
) {
ISD::NodeType AssertOp = ISD::DELETED_NODE;
if (RetSExt)