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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Jul 23 09:32:20 PDT 2024


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

  Changed paths:
    M clang/include/clang/Driver/Options.td
    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