File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -525,7 +525,8 @@ InFlightDiagnostic Operation::emitOpError(const Twine &message) {
525
525
526
526
// / Create a deep copy of this operation but keep the operation regions empty.
527
527
// / 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.
529
530
Operation *Operation::cloneWithoutRegions (BlockAndValueMapping &mapper,
530
531
bool mapResults) {
531
532
SmallVector<Value, 8 > operands;
Original file line number Diff line number Diff line change 1
- // ===- TestSymbolUses .cpp - Pass to test symbol uselists ------------------===//
1
+ // ===- TestClone .cpp - Pass to test operation cloning -- ------------------===//
2
2
//
3
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
4
// See https://llvm.org/LICENSE.txt for license information.
You can’t perform that action at this time.
0 commit comments