[all-commits] [llvm/llvm-project] f16bc3: [Flang][OpenMP] Add frontend support for -fopenmp-...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Jul 26 05:30:31 PDT 2024


  Branch: refs/heads/users/skatrak/target-host-03-flang
  Home:   https://github.com/llvm/llvm-project
  Commit: f16bc33e0ac3af52aa33400e3402b1931d16dc33
      https://github.com/llvm/llvm-project/commit/f16bc33e0ac3af52aa33400e3402b1931d16dc33
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M flang/include/flang/Frontend/LangOptions.h
    M flang/include/flang/Tools/CrossToolHelpers.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Lower/OpenMP/offload-targets.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Add frontend support for -fopenmp-targets

This patch adds support for the `-fopenmp-targets` option to the `bbc` and
`flang -fc1` tools. It adds an `OMPTargetTriples` property to the `LangOptions`
structure, which is filled with the triples represented by the compiler option.

This is used to initialize the `omp.target_triples` module attribute for later
use by lowering stages.



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