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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Aug 1 04:50:56 PDT 2024


  Branch: refs/heads/users/skatrak/target-host-01-driver
  Home:   https://github.com/llvm/llvm-project
  Commit: e59c38db58ba5ca2eef66d3b3477d5ad81043228
      https://github.com/llvm/llvm-project/commit/e59c38db58ba5ca2eef66d3b3477d5ad81043228
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-08-01 (Thu, 01 Aug 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