[Mlir-commits] [flang] [mlir] [mlir][OpenMP] - Transform target offloading directives for easier translation to LLVMIR (PR #83966)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Mar 6 07:18:34 PST 2024


================
@@ -0,0 +1,54 @@
+//===-- Passes.td - OpenMP pass definition file -------------*- tablegen -*-===//
----------------
agozillon wrote:

Just a little background on why the passes are there from what I recall at least (more for information to help make informed decisions or for someone else to chime in with a preference), the `OMPMarkDeclareTargetPass`/`OMPFunctionFiltering `are there as they were initially in an experimental phase (alongside another now erased pass) to verify if we'd keep them in the offloading flow and see how they'd interact with each other overtime as they are interlinked behavior. Not sure when they'd best to be moved, it's coming up to their anniversary at this point, but it's something that can wait in any case.

The `OMPDescriptorMapInfoGenPass `is very much Fortran specific at the moment, it primarily handles FIR `BoxType`'s, so it's not feasible at the moment (or perhaps ever) to move to the OpenMP dialect as it has FIR dependencies and FIR is an external dialect to the MLIR project.

https://github.com/llvm/llvm-project/pull/83966


More information about the Mlir-commits mailing list