Skip to content

Commit 41d69f5

Browse files
committed
Add call to moduleTranslation.mapFunction.
1 parent 0053d96 commit 41d69f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 1 addition & 0 deletions
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)