diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-12 07:20:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-12 07:20:05 +0000 |
commit | 095e4ad2ea86191df9d5583b71a9182d63267cb0 (patch) | |
tree | 1c4e6e70a9e3baa78bc124a515eaa636f7c3fc17 /llvm/lib | |
parent | 167ea3eb5f9086c0969933adbda0d07fff6beb02 (diff) | |
download | bcm5719-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.cpp | 2 |
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. |