vestiges of multiple return values

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 (3.33 KB)

No reason, feel free to zap it. Thanks!

-Chris