Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e3cf0f1

Browse files
committedFeb 18, 2025
Add call to moduleTranslation.mapFunction.
1 parent 64b0908 commit e3cf0f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -3567,6 +3567,7 @@ getOrCreateUserDefinedMapperFunc(Operation *op, llvm::IRBuilderBase &builder,
35673567
emitUserDefinedMapper(declMapperOp, builder, moduleTranslation);
35683568
if (!mapperFunc)
35693569
return mapperFunc.takeError();
3570+
moduleTranslation.mapFunction(mapperFuncName, *mapperFunc);
35703571
return mapperFunc;
35713572
}
35723573

0 commit comments

Comments
 (0)
Please sign in to comment.