[clang] [llvm] [AMDGPU] Implement 'llvm.get.fpenv' and 'llvm.set.fpenv' (PR #83906)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 5 06:22:46 PST 2024
================
@@ -839,6 +839,18 @@ unsigned test_wavefrontsize() {
return __builtin_amdgcn_wavefrontsize();
}
+// CHECK-LABEL test_get_fpenv(
----------------
arsenm wrote:
This interface is 1 level removed from the hardware, but this cannot be legitimately used without fenv access enabled exactly the same way. It is not a different use case at all
https://github.com/llvm/llvm-project/pull/83906
More information about the cfe-commits
mailing list