[all-commits] [llvm/llvm-project] 156287: clang: Use NVPTX TargetParser for OpenMP unified-a...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jul 30 12:00:09 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1562871d4191f39de7ed0ae53f8ca48b8e2d4242
      https://github.com/llvm/llvm-project/commit/1562871d4191f39de7ed0ae53f8ca48b8e2d4242
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

  Log Message:
  -----------
  clang: Use NVPTX TargetParser for OpenMP unified-addressing check (#212746)

processRequiresDirective enumerated every OffloadArch value in a switch
only to error on nvptx architectures older than sm_60. Replace it with
NVPTX::supportsUnifiedAddressing() applied to the parsed target CPU so
we don't need to keep adding cases here every time a new target is
added.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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