[llvm-branch-commits] [flang] [mlir] [MLIR][OpenMP] Add conversion support from FIR to LLVM Dialect for OMP DeclareMapper (PR #121005)

Akash Banerjee via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 29 07:43:53 PST 2025


================
@@ -186,6 +186,32 @@ struct MapInfoOpConversion : public ConvertOpToLLVMPattern<omp::MapInfoOp> {
   }
 };
 
+struct DeclMapperOpConversion
----------------
TIFitis wrote:

I tried to use the `MultiRegionOpConversion` but it doesn't support Ops with a single region, and `RegionOpConversion` doesn't seem to have something like `forwardOpAttrs`.

Let me know if I'm missing something, otherwise the current approach seems like the only viable option to me :)

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


More information about the llvm-branch-commits mailing list