aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-12 07:20:05 +0000
committerChris Lattner <sabre@nondot.org>2006-08-12 07:20:05 +0000
commitf6e190fae02174d465ae1f9000192269a5978c73 (patch)
treeb3f96faf4bcebd8d00df0a268c4c01c34f298343
parent103de7785aaf7375460adac32c63335a24fc440d (diff)
downloadexternal_llvm-f6e190fae02174d465ae1f9000192269a5978c73.zip
external_llvm-f6e190fae02174d465ae1f9000192269a5978c73.tar.gz
external_llvm-f6e190fae02174d465ae1f9000192269a5978c73.tar.bz2
Fix a bug in a recent refactoring that broke a bunch of stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29649 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 9e54ada..067063d 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -1216,7 +1216,7 @@ static SDOperand LowerCALL(SDOperand Op, SelectionDAG &DAG) {
NodeTys.push_back(MVT::Other);
// If the function returns void, just return the chain.
- if (NumResults == 1)
+ if (NumResults == 0)
return Chain;
// Otherwise, merge everything together with a MERGE_VALUES node.