================ @@ -7394,24 +7394,26 @@ OpenMPIRBuilder::InsertPointOrErrorTy OpenMPIRBuilder::emitTargetTask( void OpenMPIRBuilder::emitOffloadingArraysAndArgs( InsertPointTy AllocaIP, InsertPointTy CodeGenIP, TargetDataInfo &Info, - TargetDataRTArgs &RTArgs, MapInfosTy &CombinedInfo, bool IsNonContiguous, - bool ForEndCall, function_ref<void(unsigned int, Value *)> DeviceAddrCB, - function_ref<Value *(unsigned int)> CustomMapperCB) { - emitOffloadingArrays(AllocaIP, CodeGenIP, CombinedInfo, Info, IsNonContiguous, - DeviceAddrCB, CustomMapperCB); + TargetDataRTArgs &RTArgs, MapInfosTy &CombinedInfo, + function_ref<Value *(unsigned int)> CustomMapperCB, bool IsNonContiguous, + bool ForEndCall, function_ref<void(unsigned int, Value *)> DeviceAddrCB) { + emitOffloadingArrays(AllocaIP, CodeGenIP, CombinedInfo, Info, CustomMapperCB, + IsNonContiguous, DeviceAddrCB); emitOffloadingArraysArgument(Builder, RTArgs, Info, ForEndCall); } static void emitTargetCall(OpenMPIRBuilder &OMPBuilder, IRBuilderBase &Builder, OpenMPIRBuilder::InsertPointTy AllocaIP, + OpenMPIRBuilder::TargetDataInfo &Info, ---------------- skatrak wrote:
This new argument doesn't seem to be used, unless I'm missing something. Was your plan to replace the local variable with the same name in the `EmitTargetCallThen` lambda, perhaps? https://github.com/llvm/llvm-project/pull/124746 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits