[clang] [OpenMP][Clang] Add support for fb_nullify/fb_preserve fallback modifiers for need_device_ptr. (PR #168905)

Abhinav Gaba via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 12:46:34 PST 2025


================
@@ -274,10 +264,12 @@ OPENMP_DOACROSS_MODIFIER(source_omp_cur_iteration)
 OPENMP_THREADSET_KIND(omp_pool)
 OPENMP_THREADSET_KIND(omp_team)
 
+// OpenMP 6.1 modifiers for 'adjust_args' clause.
+OPENMP_NEED_DEVICE_PTR_MODIFIER(fb_nullify)
----------------
abhinavgaba wrote:

It's probably more appropriate to use `KIND` instead of "MODIFIER" here, since `fb_nullify/preserve` are not modifiers.

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


More information about the cfe-commits mailing list