[Mlir-commits] [mlir] [OpenMP][OpenMPIRBuilder][NFC] Move copyInput to a passed in lambda function (PR #68124)

Akash Banerjee llvmlistbot at llvm.org
Tue Oct 3 10:05:25 PDT 2023


================
@@ -2166,6 +2166,9 @@ class OpenMPIRBuilder {
   using TargetBodyGenCallbackTy = function_ref<InsertPointTy(
       InsertPointTy AllocaIP, InsertPointTy CodeGenIP)>;
 
+  using TargetGenArgAccessorsCallbackTy = function_ref<Value *(
+      Argument &Arg, Value *Input, IRBuilderBase &Builder)>;
----------------
TIFitis wrote:

Is it necessary to pass the builder here
? I see that a local builder is already available in places this is defined.

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


More information about the Mlir-commits mailing list