From: Marek Olšák Date: Wed, 4 Jul 2018 04:13:04 +0000 (-0400) Subject: radeonsi: fix compiler breakage X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45f9d58668079803abe64d2f104468ee118f78ea;p=mesa.git radeonsi: fix compiler breakage Broken by d853d3a59bd5f8720a5b021bcd64a193d370b623. --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index d047807dd20..35ddb114d04 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -114,6 +114,7 @@ static void si_init_compiler(struct si_screen *sscreen, (!sscreen->llvm_has_working_vgpr_indexing ? AC_TM_PROMOTE_ALLOCA_TO_SCRATCH : 0) | (sscreen->debug_flags & DBG(CHECK_IR) ? AC_TM_CHECK_IR : 0); + ac_init_llvm_once(); ac_init_llvm_compiler(compiler, true, sscreen->info.family, tm_options); }