[all-commits] [llvm/llvm-project] f6a631: [MLIR] Remove dependency on omp dialect in LLVM di...
Jan Sjodin via All-commits
all-commits at lists.llvm.org
Wed May 31 06:42:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f6a631d4060c5b539fd51b7221205ee05ec50ee8
https://github.com/llvm/llvm-project/commit/f6a631d4060c5b539fd51b7221205ee05ec50ee8
Author: Jan Sjodin <jan_sjodin at yahoo.com>
Date: 2023-05-31 (Wed, 31 May 2023)
Changed paths:
M flang/test/Fir/omp-declare-target-data.fir
M flang/test/Lower/OpenMP/omp-host-ir-flag.f90
M flang/test/Lower/OpenMP/omp-is-device.f90
M flang/test/Lower/OpenMP/rtl-flags.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/lib/Target/LLVMIR/CMakeLists.txt
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/omptarget-region-device-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-region-llvm.mlir
M mlir/test/Target/LLVMIR/omptarget-region-parallel-llvm.mlir
Log Message:
-----------
[MLIR] Remove dependency on omp dialect in LLVM dialect.
This fixes a buildbot failure where the dependency on the omp dialect
in the LLVM dialect caused error. Instead of accessing the interface
defined in the omp dialect we directly access the attributes
instead. To make this work the IsDeviceAttr is removed and replaced
with a BoolAttr instead.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D151745
More information about the All-commits
mailing list