diff options
| author | Longsheng Mou <longshengmou@gmail.com> | 2025-11-19 22:33:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-19 22:33:40 +0800 |
| commit | 1723a5137cba77cc1aace84d392b2ecd501e1069 (patch) | |
| tree | 2e34f06c76a0906359c5d6742fbbadcc1e50abf0 /mlir | |
| parent | 93a1327deaef7abd5c2bf5caf4c4ef40d34460f6 (diff) | |
[mlir][tensor] Drop unused AffineExpr variable (NFC) (#168651)
Diffstat (limited to 'mlir')
| -rw-r--r-- | mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp b/mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp index 7ec61c7df81c..aa52c0c138d0 100644 --- a/mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp +++ b/mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp @@ -533,8 +533,8 @@ LogicalResult mlir::tensor::getCollapsedExtractSliceInfo( getMixedSizes(b, loc, sliceOp.getSource()); // Helper variables and function for accumulating the size values. - AffineExpr d0, d1, d2; - bindDims(b.getContext(), d0, d1, d2); + AffineExpr d0, d1; + bindDims(b.getContext(), d0, d1); // Multiply two integers. auto mul = [&](OpFoldResult v1, OpFoldResult v2) { auto mulMap = AffineMap::get(2, 0, {d0 * d1}); |
