[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:10:28 PST 2024


================
@@ -839,6 +839,18 @@ unsigned test_wavefrontsize() {
   return __builtin_amdgcn_wavefrontsize();
 }
 
+// CHECK-LABEL test_get_fpenv(
----------------
arsenm wrote:

Ideally we would also warn if you used these without fenv access enabled 

https://github.com/llvm/llvm-project/pull/83906


More information about the cfe-commits mailing list