Skip to content

Commit 847d845

Browse files
committed
Apply clang-tidy fixes for performance-unnecessary-value-param in VectorToGPU.cpp (NFC)
1 parent b8a3f0f commit 847d845

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,9 @@ static bool supportsMMaMatrixType(Operation *op, bool useNvGpu) {
303303
/// `getSlice`. In scf.for we only want to include as part of the slice elements
304304
/// that are part of the use/def chain.
305305
static SetVector<Operation *>
306-
getSliceContract(Operation *op, BackwardSliceOptions backwardSliceOptions,
307-
ForwardSliceOptions forwardSliceOptions) {
306+
getSliceContract(Operation *op,
307+
const BackwardSliceOptions &backwardSliceOptions,
308+
const ForwardSliceOptions &forwardSliceOptions) {
308309
SetVector<Operation *> slice;
309310
slice.insert(op);
310311
unsigned currentIndex = 0;

0 commit comments

Comments
 (0)