[Mlir-commits] [mlir] 28c17a4 - Apply clang-tidy fixes for performance-unnecessary-value-param in InferIntRangeInterfaceImpls.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Sep 1 07:50:54 PDT 2022
Author: Mehdi Amini
Date: 2022-09-01T14:50:14Z
New Revision: 28c17a4b06faa5d799afda60f5b83603cea437ff
URL: https://github.com/llvm/llvm-project/commit/28c17a4b06faa5d799afda60f5b83603cea437ff
DIFF: https://github.com/llvm/llvm-project/commit/28c17a4b06faa5d799afda60f5b83603cea437ff.diff
LOG: Apply clang-tidy fixes for performance-unnecessary-value-param in InferIntRangeInterfaceImpls.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp b/mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
index 17bc5bafd2b20..5d90fdd59022d 100644
--- a/mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
+++ b/mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
@@ -71,7 +71,7 @@ void SubgroupSizeOp::inferResultRanges(ArrayRef<ConstantIntRanges>,
void LaunchOp::inferResultRanges(ArrayRef<ConstantIntRanges> argRanges,
SetIntRangeFn setResultRange) {
- auto setRange = [&](ConstantIntRanges argRange, Value dimResult,
+ auto setRange = [&](const ConstantIntRanges &argRange, Value dimResult,
Value idxResult) {
if (argRange.umin().getBitWidth() != IndexType::kInternalStorageBitWidth)
return;
More information about the Mlir-commits
mailing list