From 2b18d67a1eb64925d94de1734f63ffae471e98ce Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Wed, 8 Jun 2016 00:42:01 +0200 Subject: gallium/radeon: remove dead code creating LLVMTargetMachine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was for some old unsupported LLVM version. Only si_create_context creates the target machine now. r600g doesn't use this function. Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 4eb151f5872..9f8cb549b1b 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -6178,9 +6178,7 @@ int si_compile_llvm(struct si_screen *sscreen, } if (!si_replace_shader(count, binary)) { - r = radeon_llvm_compile(mod, binary, - r600_get_llvm_processor_name(sscreen->b.family), tm, - debug); + r = radeon_llvm_compile(mod, binary, tm, debug); if (r) return r; } -- cgit v1.2.3