gallium/radeon: nuke the final pre LLVM 3.6 codepath
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Apr 2016 13:37:16 +0000 (14:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 1 May 2016 07:57:32 +0000 (08:57 +0100)
Missed with commit 100796c15c3 "gallium/radeon: drop support for LLVM
3.5"

v2: s/LLVN/LLVM/ in shortlog (Nicolai)

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c

index 08281973b2962bce4fa9306e492138d827c4090f..dd86f661a17160919e2417934c0f57b5bd7f8220 100644 (file)
@@ -1536,13 +1536,7 @@ void radeon_llvm_context_init(struct radeon_llvm_context * ctx, const char *trip
        ctx->gallivm.context = LLVMContextCreate();
        ctx->gallivm.module = LLVMModuleCreateWithNameInContext("tgsi",
                                                ctx->gallivm.context);
-       LLVMSetTarget(ctx->gallivm.module,
-
-#if HAVE_LLVM < 0x0306
-                       "r600--");
-#else
-                       triple);
-#endif
+       LLVMSetTarget(ctx->gallivm.module, triple);
        ctx->gallivm.builder = LLVMCreateBuilderInContext(ctx->gallivm.context);
 
        struct lp_build_tgsi_context * bld_base = &ctx->soa.bld_base;