[llvm-branch-commits] [mlir] b3e60ba - Fix formatting
Ian Wood via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 3 10:30:04 PDT 2025
Author: Ian Wood
Date: 2025-06-03T10:30:22-07:00
New Revision: b3e60ba212782619b5c8c12542a4d9ecd539a652
URL: https://github.com/llvm/llvm-project/commit/b3e60ba212782619b5c8c12542a4d9ecd539a652
DIFF: https://github.com/llvm/llvm-project/commit/b3e60ba212782619b5c8c12542a4d9ecd539a652.diff
LOG: Fix formatting
Signed-off-by: Ian Wood <ianwood2024 at u.northwestern.edu>
Added:
Modified:
mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp b/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
index ed40a080441bc..1a04d702e0559 100644
--- a/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
+++ b/mlir/lib/Dialect/Utils/ReshapeOpsUtils.cpp
@@ -315,11 +315,11 @@ SmallVector<Range> SliceFromCollapseHelper::getExtractSliceParams(
// have proven that these are not sliced. In this case we just take
// the full extent of each dimension in the reassociation list.
if (linearizedDimensions[it.index()]) {
- llvm::append_range(
- offsetsSizesAndStrides,
- llvm::map_range(it.value(), [&](int64_t idx) -> Range {
- return {zeroAttr, collapseShapeInputShape[idx], oneAttr};
- }));
+ llvm::append_range(offsetsSizesAndStrides,
+ llvm::map_range(it.value(), [&](int64_t idx) -> Range {
+ return {zeroAttr, collapseShapeInputShape[idx],
+ oneAttr};
+ }));
continue;
}
More information about the llvm-branch-commits
mailing list