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
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to