ac: move all LLVM module initialization into ac_create_module
authorMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jun 2018 04:54:30 +0000 (00:54 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 2 Jul 2018 18:34:39 +0000 (14:34 -0400)
commit32e413ca59f5c335bcce110af1f27b5c5d458b94
treef3f9abf28171a54edaf0afb61aae2050570b1e06
parent49f7631c9fd94fbc5c892f70e5bcef54d0ec5043
ac: move all LLVM module initialization into ac_create_module

This removes some ugly code around module initialization.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_helper.cpp
src/amd/common/ac_llvm_util.h
src/amd/vulkan/radv_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_tgsi_setup.c