[Mesa-dev] [RFC PATCH 00/16] A new IR for Mesa

Kenneth Graunke kenneth at whitecape.org
Tue Aug 26 16:50:00 PDT 2014


On Tuesday, August 26, 2014 10:05:35 AM Ian Romanick wrote:
> On 08/25/2014 06:54 PM, Rob Clark wrote:
> > tbh, it sounds a lot to me like if we start using LLVM more
> > heavily/widely in mesa we should import LLVM (or at least the parts we
> > need) into the mesa src tree.. as it is, the logistical/distro issues
> > of LLVM have been what has scared me off the most about using it.
> 
> While this is the development model that LLVM expects (and the only one
> they support)... Dear god, no!  This would mean that we would have to
> take the responsibility for keeping our diverged copy of LLVM in sync
> with bug fixes, etc. from upstream.  For a project the size of LLVM, I
> can expect that to be a significant amount of work.

I agree - I'm totally against importing LLVM into the Mesa repositories.

Thankfully, it does look like the C API is pretty stable, so if you're able to use that, you don't have to worry about LLVM changing as much.  It looks to me like we might need to extend it somewhat - I'm not sure all the optimization passes can be activated via C, but I imagine those extensions would be very straightforward.

--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140826/849b719e/attachment.sig>


More information about the mesa-dev mailing list