Skip to content

Commit ead5548

Browse files
committed
review comments
1 parent 86d1064 commit ead5548

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flang/include/flang/Utils/OpenMP.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,12 @@ mlir::omp::MapInfoOp createMapInfoOp(mlir::OpBuilder &builder,
4545
///
4646
/// \returns The loaded mapped value inside the target region.
4747
mlir::Value mapTemporaryValue(fir::FirOpBuilder &firOpBuilder,
48-
mlir::omp::TargetOp targetOp, mlir::Value val, llvm::StringRef name);
48+
mlir::omp::TargetOp targetOp, mlir::Value val,
49+
llvm::StringRef name = "tmp.map");
4950

5051
/// For values used inside a target region but defined outside, either clone
5152
/// these value inside the target region or map them to the region. This
52-
/// function tries firts to clone values (if they are defined by
53+
/// function first tries to clone values (if they are defined by
5354
/// memory-effect-free ops, otherwise, the values are mapped.
5455
///
5556
/// \param firOpBuilder - Operation builder.

0 commit comments

Comments
 (0)