[all-commits] [llvm/llvm-project] 498041: [Flang][Driver][OpenMP] Fix omp-frontend-forwardin...
agozillon via All-commits
all-commits at lists.llvm.org
Wed Mar 29 10:54:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 498041da4e7b781d57a6761f345721792ad7079d
https://github.com/llvm/llvm-project/commit/498041da4e7b781d57a6761f345721792ad7079d
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M flang/test/Driver/omp-frontend-forwarding.f90
Log Message:
-----------
[Flang][Driver][OpenMP] Fix omp-frontend-forwarding.f90 failure on windows
Failing due to forgetting the .exe suffix the clang-offload-packager
receives on windows.
Commit: a7e91b18b73b9971d3af2c6df1811e3da63e61c8
https://github.com/llvm/llvm-project/commit/a7e91b18b73b9971d3af2c6df1811e3da63e61c8
Author: Andrew Gozillon <Andrew.Gozillon at amd.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
A mlir/test/Dialect/OpenMP/attr.mlir
Log Message:
-----------
[OpenMP][MLIR] Add Flags attribute to OMP OffloadModuleInterface
The intent of this attribute is for it to be applied to a module and
then hold information on runtime library (RTL) flags given to
Flang (or other OpenMP frontend) that should be lowered down to
LLVM-IR for devices as LLVM globals. The following related
flags are:
-fopenmp-target-debug
-fopenmp-assume-threads-oversubscription
-fopenmp-assume-teams-oversubscription
-fopenmp-assume-no-nested-parallelism
-fopenmp-assume-no-thread-state
These exist within Clang and are lowered into the IR when
offloading for device. This attribute allows this infromation
to be carried down from the Flang frontend to the
LLVM/OpenMP Dialect to LLVM-IR translation phase
and then be lowered to LLVM-IR.
Reviewers: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D144896
Compare: https://github.com/llvm/llvm-project/compare/50876630b910...a7e91b18b73b
More information about the All-commits
mailing list