[Mesa-dev] [PATCH] radeonsi: Cache LLVMTargetMachineRef in context instead of in screen

Emil Velikov emil.l.velikov at gmail.com
Mon Mar 30 06:28:07 PDT 2015


On 27 March 2015 at 01:05, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Fixes a crash in genymotion with several threads compiling shaders
> concurrently.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89746
>
> Cc: 10.5 <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Hi Michel,

Seems that the r600-- triple is used for both r600 and radeonsi via
radeon_llvm_compile(), regardless of the GPU or LLVM version. Is that
intentional or just a left over ? If the latter moving it into a
helper/macro in drivers/radeon/ could save you some headaches :-)

-Emil


More information about the mesa-dev mailing list