[all-commits] [llvm/llvm-project] 3861b2: [Flang][Driver] Introduce -fopenmp-targets offload...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Jul 31 03:40:55 PDT 2024


  Branch: refs/heads/users/skatrak/target-host-01-driver
  Home:   https://github.com/llvm/llvm-project
  Commit: 3861b28deeb1b558f182f2ab5680b123fd94c005
      https://github.com/llvm/llvm-project/commit/3861b28deeb1b558f182f2ab5680b123fd94c005
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-31 (Wed, 31 Jul 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/test/Driver/omp-driver-offload.f90

  Log Message:
  -----------
  [Flang][Driver] Introduce -fopenmp-targets offloading option

This patch modifies the flang driver to introduce the `-fopenmp-targets` option
to the frontend compiler invocations corresponding to the OpenMP host device on
offloading-enabled compilations.

This option holds the list of offloading triples associated to the compilation
and is used by clang to determine whether offloading calls should be generated
for the host.



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