mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-11 07:20:30 +01:00
ac/llvm: Remove -promote-alloca workaround
This bug was fixed many years ago. Reviwed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39566>
This commit is contained in:
parent
8e9fec8e40
commit
ec9df376d8
1 changed files with 1 additions and 3 deletions
|
|
@ -150,9 +150,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%s",
|
||||
/* GFX9 has broken VGPR indexing, so always promote alloca to scratch. */
|
||||
ctx->gfx_level == GFX9 ? ",-promote-alloca" : "",
|
||||
snprintf(features, sizeof(features), "+DumpCode%s%s",
|
||||
/* Wave32 is the default. */
|
||||
ctx->gfx_level >= GFX10 && ctx->wave_size == 64 ?
|
||||
",+wavefrontsize64,-wavefrontsize32" : "",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue