Mesa (master): radeonsi: remove redundant no-signed-zero-fp-math LLVM attribute

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Sep 6 16:37:51 UTC 2020


Module: Mesa
Branch: master
Commit: 1476bea7648fd3dd682fd502861dc60fdc95e27b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1476bea7648fd3dd682fd502861dc60fdc95e27b

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Sep  3 04:42:38 2020 -0400

radeonsi: remove redundant no-signed-zero-fp-math LLVM attribute

Already set by AC_FLOAT_MODE_DEFAULT_OPENGL.

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

---

 src/gallium/drivers/radeonsi/si_shader_llvm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_shader_llvm.c b/src/gallium/drivers/radeonsi/si_shader_llvm.c
index 3b1e4dafec1..26aabf3e7fc 100644
--- a/src/gallium/drivers/radeonsi/si_shader_llvm.c
+++ b/src/gallium/drivers/radeonsi/si_shader_llvm.c
@@ -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);
 }
 



More information about the mesa-commit mailing list