[llvm-commits] [PATCH]: wrong PPC32 targetdata in llvm

Roman Divacky rdivacky at freebsd.org
Thu Jun 30 08:47:38 PDT 2011


On Thu, Jun 30, 2011 at 05:38:42PM +0200, Duncan Sands wrote:
> Hi Roman,
> 
> > The definition of targetdata in llvm differs to the one in clang.
> > Specifically the ABI alignment of 64bit types on PPC32 is 32 in
> > llvm and 64 in llvm. The clang one seems to be the correct one.
> 
> why isn't clang querying llvm to get the target data?

I don't know. Clang has target data definition for every arch. It
seems wrong to me as well.

Anyway, the PPC32 target data definition in llvm is wrong and needs
to be correct with the patch I attached.

roman



More information about the llvm-commits mailing list