From 19b6c889be7c7151d50e46b9cac0c416232c47c9 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Tue, 11 Oct 2022 10:33:19 +0200 Subject: [PATCH] Revert "ac: use LLVMContextSetOpaquePointers if available" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 940734630de229d98630e4398fd68e95c105177a. radeonsi and radv now support opaque pointers. Reviewed-by: Mihai Preda Reviewed-by: Dave Airlie Reviewed-by: Qiang Yu Reviewed-by: Marek Olšák Acked-by: Samuel Pitoiset Part-of: --- src/amd/llvm/ac_llvm_build.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/amd/llvm/ac_llvm_build.c b/src/amd/llvm/ac_llvm_build.c index 3cc556e7104..6bdfb2735e8 100644 --- a/src/amd/llvm/ac_llvm_build.c +++ b/src/amd/llvm/ac_llvm_build.c @@ -62,9 +62,6 @@ void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler * unsigned ballot_mask_bits) { ctx->context = LLVMContextCreate(); - #if LLVM_VERSION_MAJOR >= 15 - LLVMContextSetOpaquePointers(ctx->context, false); - #endif ctx->gfx_level = gfx_level; ctx->family = family;