From: Marek Olšák Date: Thu, 6 Jul 2017 00:14:53 +0000 (+0200) Subject: radeonsi: don't call gallivm_init_llvm_targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ece0c0439f61f1e460349113a4490807e9939071;p=mesa.git radeonsi: don't call gallivm_init_llvm_targets It's for initializing the native (x86) target. Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c index d5e988edebf..3f20cd1d03d 100644 --- a/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c +++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c @@ -68,7 +68,6 @@ void si_llvm_add_attribute(LLVMValueRef F, const char *name, int value) static void init_amdgpu_target() { - gallivm_init_llvm_targets(); LLVMInitializeAMDGPUTargetInfo(); LLVMInitializeAMDGPUTarget(); LLVMInitializeAMDGPUTargetMC();