summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-04-08 19:27:02 +0100
committerEmil Velikov <[email protected]>2015-04-16 14:15:19 +0100
commita7d018accfd0161510a75ba685e056256de494c2 (patch)
tree2a5b9d5db5486b81c08b965c0e4bf633a725492e /src
parent33f73e93ff6e14f72153d3df7e80763137fcb943 (diff)
radeonsi: remove bogus r600-- triple
As mentioned by Michel Dänzer for LLVM >= 3.6 we create the LLVMTargetMachine (with triple amdgcn--), as we setup the radeonsi context. For older LLVM or hardware (r600) the triple is always r600-- and is created at a later stage - radeon_llvm_compile() Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index ae96b6bab1d..5dc657c6b3b 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -85,8 +85,6 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, void *
LLVMTargetRef r600_target;
#if HAVE_LLVM >= 0x0306
const char *triple = "amdgcn--";
-#else
- const char *triple = "r600--";
#endif
int shader, i;