On Jan 29, 2008, at 5:52 PM, Dale Johannesen wrote: >> If ABI specifies the aggregate should be passed in memory, then llvm- >> gcc passes it byval. Otherwise, it chops up in pieces following the >> ABI specification (only x86-64 uses a mixture of integer and non- >> integer registers). > > Just noticed this...Darwin ppc64 also uses a mix of registers. The > same > struct can use int, float, vector registers and memory in extreme > cases.
Yep, getting darwin/ppc64 abi compliance will require us to do something like Evan did for x86-64, but for ppc. Struct return is even crazier on ppc64 iirc. -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits