Skip to content

Commit 9a8bb4b

Browse files
committed
[NFC] Update comments
1 parent 8fd3b5d commit 9a8bb4b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mlir/lib/IR/Operation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ InFlightDiagnostic Operation::emitOpError(const Twine &message) {
525525

526526
/// Create a deep copy of this operation but keep the operation regions empty.
527527
/// Operands are remapped using `mapper` (if present), and `mapper` is updated
528-
/// to contain the results.
528+
/// to contain the results. The `mapResults` flag specifies whether the results
529+
/// of the cloned operation should be added to the map.
529530
Operation *Operation::cloneWithoutRegions(BlockAndValueMapping &mapper,
530531
bool mapResults) {
531532
SmallVector<Value, 8> operands;

mlir/test/lib/IR/TestClone.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- TestSymbolUses.cpp - Pass to test symbol uselists ------------------===//
1+
//===- TestClone.cpp - Pass to test operation cloning --------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)