[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
Tue Jan 28 07:10:38 PST 2025


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

Hi, sorry for the late reply, I've just returned from my vacation.

Can we use a specialised `forwardOpAttrs` to convert the type for the `VarType` `TypeAttr`?

Looking at the code, `MapInfoOp` uses a similar OpConversion for converting the type for it's `TypeAttr`.

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


More information about the llvm-branch-commits mailing list