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 <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41822>
This commit is contained in:
Ganesh Belgur Ramachandra 2026-05-27 08:58:09 +00:00 committed by Marge Bot
parent 6b06f70af0
commit 7e7f6e79ec

View file

@ -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" : "",