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

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Aug 1 08:44:09 PDT 2024


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