radeonsi: don't call gallivm_init_llvm_targets
authorMarek Olšák <marek.olsak@amd.com>
Thu, 6 Jul 2017 00:14:53 +0000 (02:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 17 Jul 2017 14:50:39 +0000 (10:50 -0400)
It's for initializing the native (x86) target.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c

index d5e988edebf26480dd636e2ee4a77f2513830f25..3f20cd1d03ddbb2f9c9116cdc7036b22f8bd608a 100644 (file)
@@ -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();