[all-commits] [llvm/llvm-project] 54e52e: [Flang][OpenMP] Add frontend support for -fopenmp-...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Jul 23 09:35:53 PDT 2024
Branch: refs/heads/users/skatrak/target-host-03-flang
Home: https://github.com/llvm/llvm-project
Commit: 54e52e8a37fd725976e157cd0f9e0221a355dead
https://github.com/llvm/llvm-project/commit/54e52e8a37fd725976e157cd0f9e0221a355dead
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-23 (Tue, 23 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