[all-commits] [llvm/llvm-project] 9dadb1: [Flang][OpenMP] Add frontend support for -fopenmp-...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Aug 2 02:54:36 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9dadb1f62bb8086a53ba39d188665c4fe3a9c6ec
https://github.com/llvm/llvm-project/commit/9dadb1f62bb8086a53ba39d188665c4fe3a9c6ec
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-02 (Fri, 02 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 (#100155)
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