[Mesa-dev] [PATCH] radeon/llvm: Use LLVM C API for compiling LLVM IR to ISA.

Christian König deathsimple at vodafone.de
Thu Apr 25 10:22:36 PDT 2013


Am 25.04.2013 19:08, schrieb Tom Stellard:
>
> [SNIP]
>
> I think this is a good approach, however before we make big changes to
> Mesa I want to make sure we know what problems we are trying to solve
> with these changes.  As far as I understand it, the current problems
> are:
>
> 1. If an application is using the LLVM API outside of Mesa, then it is
> impossible for Mesa to safely use the llvm_*_multithreaded() functions.
>
> 2. If an application is using a different version of LLVM than Mesa,
> then it might incorrectly use the LLVM symbols that are included in
> the Mesa libraries.
>
> Are there others?

Loading both r600g and radeonsi with the llvm backend into one process.

Those two might want to use different versions of LLVM at the same time, 
so we might want to abstract the interface even further to the dri 
level, but not sure about that.

Christian.

> -Tom
> _______________________________________________
> 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