On May 4, 2007, at 3:12 PM, Chris Lattner wrote: > > On May 4, 2007, at 2:44 PM, [EMAIL PROTECTED] wrote: > >> ----------- >> Use one i32 instead of four i8 while emitting >> tail padding. >> >> This addresses first part of PR1278. > > Cool. Does this do the right thing if the end of a struct is not 4- > byte aligned? If the struct requires 7 bytes of tail padding, for > example, it would often be wrong to emit an i32 then [3 x i8], > because there will be padding before the i32.
I think, it does right thing. But I'll double check. - Devang _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits