radeonsi: remove redundant no-signed-zero-fp-math LLVM attribute
authorMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2020 08:42:38 +0000 (04:42 -0400)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:15 +0000 (21:25 +0530)
Already set by AC_FLOAT_MODE_DEFAULT_OPENGL.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6284>

src/gallium/drivers/radeonsi/si_shader_llvm.c

index 3b1e4dafec1bc9987bfe02cf68d256dd369fb95f..26aabf3e7fc2d0e2b338222b6e7af24427fedffe 100644 (file)
@@ -189,8 +189,6 @@ void si_llvm_create_func(struct si_shader_context *ctx, const char *name, LLVMTy
                                            ctx->screen->info.address32_hi);
    }
 
-   LLVMAddTargetDependentFunctionAttr(ctx->main_fn, "no-signed-zeros-fp-math", "true");
-
    ac_llvm_set_workgroup_size(ctx->main_fn, max_workgroup_size);
 }