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;