Skip to content

Commit cec29a9

Browse files
committed
fmt
1 parent 57f9210 commit cec29a9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mlir/include/mlir/Analysis/SliceAnalysis.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ void getForwardSlice(Value root, SetVector<Operation *> *forwardSlice,
138138
/// Assuming all local orders match the numbering order:
139139
/// {1, 2, 5, 3, 4, 6}
140140
///
141-
/// This function returns whether the backwards slice was able to be successfully
142-
/// computed, and failure if it was unable to determine the slice.
141+
/// This function returns whether the backwards slice was able to be
142+
/// successfully computed, and failure if it was unable to determine the slice.
143143
LogicalResult getBackwardSlice(Operation *op,
144144
SetVector<Operation *> *backwardSlice,
145145
const BackwardSliceOptions &options = {});

mlir/lib/Analysis/SliceAnalysis.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static LogicalResult getBackwardSliceImpl(Operation *op,
9696
if (auto *definingOp = value.getDefiningOp()) {
9797
if (backwardSlice->count(definingOp) == 0)
9898
return getBackwardSliceImpl(definingOp, backwardSlice, options)
99-
.succeeded();
99+
.succeeded();
100100
} else if (auto blockArg = dyn_cast<BlockArgument>(value)) {
101101
if (options.omitBlockArguments)
102102
return success();
@@ -132,10 +132,10 @@ static LogicalResult getBackwardSliceImpl(Operation *op,
132132
for (OpOperand &operand : op->getOpOperands()) {
133133
if (!descendents.contains(operand.get().getParentRegion()))
134134
if (!processValue(operand.get()).succeeded()) {
135-
return WalkResult::interrupt();
136-
}
135+
return WalkResult::interrupt();
136+
}
137137
}
138-
return WalkResult::advance();
138+
return WalkResult::advance();
139139
});
140140
});
141141
}

0 commit comments

Comments
 (0)