From 7e7f6e79ec3c8d42f9c2a4b09a27fb0ce062fccb Mon Sep 17 00:00:00 2001 From: Ganesh Belgur Ramachandra Date: Wed, 27 May 2026 08:58:09 +0000 Subject: [PATCH] amd/llvm: fix target feature setting (DumpCode -> dumpcode) Refer changes made to AMDGPU backend of llvm-project in commit 4b1cfc5d7c606ece125d1e0ef6d13e0289553200 Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/amd/llvm/ac_llvm_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/llvm/ac_llvm_util.c b/src/amd/llvm/ac_llvm_util.c index b8e7fa690f0..b606b988a39 100644 --- a/src/amd/llvm/ac_llvm_util.c +++ b/src/amd/llvm/ac_llvm_util.c @@ -148,7 +148,7 @@ void ac_llvm_set_target_features(LLVMValueRef F, struct ac_llvm_context *ctx, bo { char features[2048]; - snprintf(features, sizeof(features), "+DumpCode%s%s", + snprintf(features, sizeof(features), "+dumpcode%s%s", /* Wave32 is the default. */ ctx->gfx_level >= GFX10 && ctx->wave_size == 64 ? ",+wavefrontsize64,-wavefrontsize32" : "",