[clang] [llvm] [AMDGPU] Implement 'llvm.get.fpenv' and 'llvm.set.fpenv' (PR #83906)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 00:55:13 PST 2024
================
@@ -6826,6 +6826,10 @@ def warn_floatingpoint_eq : Warning<
"comparing floating point with == or != is unsafe">,
InGroup<DiagGroup<"float-equal">>, DefaultIgnore;
+def warn_fenv_access : Warning<
+ "floating point environment access without #pragma STDC FENV_ACCESS set ON">,
+ InGroup<DiagGroup<"float-env">>;
----------------
arsenm wrote:
It must be a separate patch
https://github.com/llvm/llvm-project/pull/83906
More information about the cfe-commits
mailing list