[clang] [flang] [mlir] [Flang][OpenMP] Lower DECLARE TARGET INDIRECT clause (PR #208387)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 2 23:07:13 PST 2026


================
@@ -117,6 +117,17 @@ def AutomapToTargetDataPass
   let dependentDialects = ["mlir::omp::OpenMPDialect"];
 }
 
+def IndirectCallLookupPass
+    : Pass<"omp-indirect-call-lookup", "mlir::ModuleOp"> {
+  let summary = "Route device indirect calls through the OpenMP indirect-call "
+                "lookup runtime function.";
+  let dependentDialects = [
+    "mlir::func::FuncDialect",
+    "fir::FIROpsDialect",
+    "mlir::omp::OpenMPDialect"
----------------
blazie2004 wrote:

Done

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


More information about the cfe-commits mailing list