summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit095e4ad2ea86191df9d5583b71a9182d63267cb0 (patch)
tree1c4e6e70a9e3baa78bc124a515eaa636f7c3fc17 /llvm/lib
parent167ea3eb5f9086c0969933adbda0d07fff6beb02 (diff)
downloadbcm5719-llvm-095e4ad2ea86191df9d5583b71a9182d63267cb0.tar.gz
bcm5719-llvm-095e4ad2ea86191df9d5583b71a9182d63267cb0.zip
Fix a bug in a recent refactoring that broke a bunch of stuff.
llvm-svn: 29649
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
index 9e54ada35c0..067063df259 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud