diff options
author | Marek Olšák <[email protected]> | 2016-06-08 00:42:01 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-08 19:23:42 +0200 |
commit | 2b18d67a1eb64925d94de1734f63ffae471e98ce (patch) | |
tree | a9b1c72ce2b175a05d160f05badae36dd4978641 /src/gallium/drivers/radeonsi/si_shader.c | |
parent | a343ab55f725be997d9e74a0b3c715cc58fd5b86 (diff) |
gallium/radeon: remove dead code creating LLVMTargetMachine
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |