[clang] [OpenMP] Add docs for fb_nullify/fb_preserve (PR #169558)

via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 25 11:57:02 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Zahira Ammarguellat (zahiraam)

<details>
<summary>Changes</summary>

Adding documentation following the merge of https://github.com/llvm/llvm-project/pull/168905. 

---
Full diff: https://github.com/llvm/llvm-project/pull/169558.diff


2 Files Affected:

- (modified) clang/docs/OpenMPSupport.rst (+2) 
- (modified) clang/docs/ReleaseNotes.rst (+2) 


``````````diff
diff --git a/clang/docs/OpenMPSupport.rst b/clang/docs/OpenMPSupport.rst
index f7e6061044c6d..fe1fc0de9f1f6 100644
--- a/clang/docs/OpenMPSupport.rst
+++ b/clang/docs/OpenMPSupport.rst
@@ -580,6 +580,8 @@ implementation.
 | need_device_addr modifier for adjust_args clause            | :part:`partial`           | :none:`unclaimed`         | Parsing/Sema: https://github.com/llvm/llvm-project/pull/143442           |
 |                                                             |                           |                           |               https://github.com/llvm/llvm-project/pull/149586           |
 +-------------------------------------------------------------+---------------------------+---------------------------+--------------------------------------------------------------------------+
+| need_device_ptr modifier for adjust_args clause             | :part:`partial`           | :none:`unclaimed`         | Parsing/Sema: https://github.com/llvm/llvm-project/pull/168905           |
++-------------------------------------------------------------+---------------------------+---------------------------+--------------------------------------------------------------------------+
 | Prescriptive num_threads                                    | :good:`done`              | :none:`unclaimed`         |  https://github.com/llvm/llvm-project/pull/160659                        |
 |                                                             |                           |                           |  https://github.com/llvm/llvm-project/pull/146403                        |
 |                                                             |                           |                           |  https://github.com/llvm/llvm-project/pull/146404                        |
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c80e060f6b7d2..aa039c3c8ad48 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -756,6 +756,8 @@ OpenMP Support
 - Updated parsing and semantic analysis support for ``nowait`` clause to accept
   optional argument in OpenMP >= 60.
 - Added support for ``default`` clause on ``target`` directive.
+- Added support for OpenMP 6.0 ``fb_nullify`` and ``fb_preserve`` fallback
+  modifiers used with the ``need_device_ptr`` map modifier.
 
 Improvements
 ^^^^^^^^^^^^

``````````

</details>


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


More information about the cfe-commits mailing list