[LLVMdev] vestiges of multiple return values

Jay Foad jay.foad at gmail.com
Fri Apr 1 08:49:29 PDT 2011


I was trying to remove some old code that handles ReturnInsts with
more than 1 operand -- see attached patch -- when I stumbled across

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple-return.diff
Type: text/x-patch
Size: 3410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110401/21c05fd9/attachment.bin>

More information about the llvm-dev mailing list