Changes in directory llvm/lib/Target/PowerPC:
PPCISelLowering.cpp updated: 1.203 -> 1.204 --- Log message: Fix a bug in a recent refactoring that broke a bunch of stuff. --- Diffs of the changes: (+1 -1) PPCISelLowering.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.203 llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.204 --- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.203 Fri Aug 11 12:38:39 2006 +++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Sat Aug 12 02:20:05 2006 @@ -1216,7 +1216,7 @@ 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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits