[Mesa-dev] [PATCH 0/9] RadeonSI LLVM crash workaround for Ubuntu 18.04

Marek Olšák maraeo at gmail.com
Tue Apr 17 00:52:11 UTC 2018


Hi,

This cleanup is motivated by a Mesa/LLVM crash on Ubuntu 18.04.
It happens inside gallivm_dispose_target_library_info and only
LLVM 5.0 and 6.0 seem to be affected.

The workaround is to move target_library_info into the context
(1 instance) and the screen (1 instance per compiler thread) to reduce
the number of times it's created and deleted, and then simply leak
it because we can't destroy it without a crash.

The series might also result in some non-measurable compile time
savings, andd the last patch decreases shader-db run times
significantly on many-core CPUs. (there is no expected effect on apps)

Please review.

Thanks,
Marek


More information about the mesa-dev mailing list