[all-commits] [llvm/llvm-project] 5a8409: [OpenMP][Clang] Parsing/Sema support for `use_devi...

Abhinav Gaba via All-commits all-commits at lists.llvm.org
Wed Dec 3 16:06:28 PST 2025


  Branch: refs/heads/users/abhinavgaba/udp-fallback-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a840934ddc9fb897a25ea0f90322e3ef20c5482
      https://github.com/llvm/llvm-project/commit/5a840934ddc9fb897a25ea0f90322e3ef20c5482
  Author: Abhinav Gaba <abhinav.gaba at intel.com>
  Date:   2025-12-03 (Wed, 03 Dec 2025)

  Changed paths:
    M clang/include/clang/AST/OpenMPClause.h
    M clang/include/clang/Basic/OpenMPKinds.def
    M clang/include/clang/Basic/OpenMPKinds.h
    M clang/include/clang/Sema/SemaOpenMP.h
    M clang/lib/AST/OpenMPClause.cpp
    M clang/lib/Basic/OpenMPKinds.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [OpenMP][Clang] Parsing/Sema support for `use_device_ptr(fb_preserve/fb_nullify)`.

Depends on #169603.

This is the `use_device_ptr` counterpart of #168905.

With OpenMP 6.1, a `fallback` modifier can be specified on the
`use_device_ptr` clause to control the behavior when a pointer lookup
fails, i.e. there is no device pointer to translate into.

The default is `fb_preserve` (i.e. retain the original pointer), while
`fb_nullify` means: use `nullptr` as the translated pointer.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list