Created attachment 114629 [details] [review] radeonsi: Cache LLVMTargetMachineRef in context instead of in screen Does this patch help?