[clang] [llvm] [AMDGPU] Implement 'llvm.get.fpenv' and 'llvm.set.fpenv' (PR #83906)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 06:21:17 PST 2024


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

Hm, I'm not sure. I feel like this is just letting the user access the hardware directly which has a different use-case to the end user.

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


More information about the cfe-commits mailing list