[Mesa-dev] [PATCH 2/3] radeon/llvm: Set the target triple on the module

Tom Stellard tom at stellard.net
Fri Feb 5 15:01:15 UTC 2016


On Thu, Feb 04, 2016 at 02:42:15PM -0800, Matt Arsenault wrote:
> 
> > On Feb 4, 2016, at 13:02, Tom Stellard <thomas.stellard at amd.com> wrote:
> > 
> > +	LLVMSetTarget(ctx->gallivm.module,
> > +
> > +#if HAVE_LLVM < 0x0306
> > +			"r600--");
> > +#else
> > +			triple);
> > +#endif
> 
> This alone does not set the datalayout, which should also be set here.
> 

Ok, I'll do this in a follow up patch.

-Tom

> -Matt

> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list