[Mesa-dev] [PATCH] gallium/radeon: nuke the final pre LLVN 3.6 codepath
Nicolai Hähnle
nhaehnle at gmail.com
Thu Apr 21 17:57:54 UTC 2016
"LLVN" typo in the subject line. Apart from that,
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
On 21.04.2016 08:37, Emil Velikov wrote:
> Missed with commit 100796c15c3 "gallium/radeon: drop support for LLVM
> 3.5"
>
> Cc: Marek Olšák <marek.olsak at amd.com>
> Cc: Nicolai Hähnle <nicolai.haehnle at amd.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> index fb883cb..7e37a03 100644
> --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> @@ -1532,13 +1532,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;
>
More information about the mesa-dev
mailing list