[LLVMdev] vestiges of multiple return values
Chris Lattner
clattner at apple.com
Sat Apr 2 08:34:23 PDT 2011
No reason, feel free to zap it. Thanks!
-Chris
On Apr 1, 2011, at 8:49 AM, Jay Foad <jay.foad at gmail.com> wrote:
> Hi,
>
> I was trying to remove some old code that handles ReturnInsts with
> more than 1 operand -- see attached patch -- when I stumbled across
> test/Assembler/aggregate-return-single-value.ll:
>
> define { i32 } @fooa() nounwind {
> ret i32 0
> }
> ...
> define [1 x i32] @fooc() nounwind {
> ret i32 0
> }
>
> Is there really any need to handle these odd cases, where the type of
> the value being returned doesn't match the return type of the
> function?
>
> Thanks,
> Jay.
> <multiple-return.diff>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list