On Jan 22, 2008, at 10:03 PM, Duncan Sands wrote: >>> What about integer arrays? >> >> This is an optimization, not a correctness issue. Can you give an >> example that you mean? > > According to the x86-64 ABI, arrays of integers that are not more > than 8 bytes long are passed in integer registers. Likewise for > structs. So it looks like a correctness issue as well as an > optimization :)
Okay, well we already get many other x86-64 issues wrong already, but Evan is chipping away at it. How do you pass an array by value in C? Example please, -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits