Make sure custom lowering for LegalizeTypes
authorDuncan Sands <baldrick@free.fr>
Sat, 19 Jul 2008 16:26:02 +0000 (16:26 +0000)
committerDuncan Sands <baldrick@free.fr>
Sat, 19 Jul 2008 16:26:02 +0000 (16:26 +0000)
commita7360f0178327e1ef4b1789612dbded46a704156
tree2e5b5879556dc90f5ee12cbde05a61eb7c93e073
parente637727bed0dad86dac794b8b28b8905e11ac6cd
Make sure custom lowering for LegalizeTypes
returns a node with the right number of
return values.  This fixes codegen of
Generic/cast-fp.ll, Generic/fp_to_int.ll
and PowerPC/multiple-return-values.ll
when using -march=ppc32 -mattr=+64bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp