[all-commits] [llvm/llvm-project] 6db02d: [Clang] Introduce `--offload-targets` for `-fopenm...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jul 4 14:21:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6db02dc4311b3ee52ec6e7e5e5cafb2600e7b30f
      https://github.com/llvm/llvm-project/commit/6db02dc4311b3ee52ec6e7e5e5cafb2600e7b30f
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Driver/amdgpu-openmp-sanitize-options.c
    M clang/test/Driver/hip-options.hip
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/Driver/omp-driver-offload.f90

  Log Message:
  -----------
  [Clang] Introduce `--offload-targets` for `-fopenmp-targets` (#146594)

Summary:
This patch is mostly an NFC that renames the existing `-fopenmp-targets`
into `--offload-targets`. Doing this early to simplify a follow-up patch
that will hopefully allow this syntax to be used more generically over
the existing `--offload` syntax (which I think is mostly unmaintained
now.). Following in the well-trodden path of trying to pull language
specific offload options into generic ones, but right now this is still
just OpenMP specific.



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