Skip to content

Commit b7aa8b6

Browse files
Update mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Co-authored-by: Fabian Mora <fmora.dev@gmail.com>
1 parent bfabf8d commit b7aa8b6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Dialect/Tensor/IR/TensorOps.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3809,7 +3809,6 @@ PadOp::reifyResultShapes(OpBuilder &b,
38093809
Value dim = b.createOrFold<tensor::DimOp>(
38103810
loc, getSource(), b.create<arith::ConstantIndexOp>(loc, i));
38113811

3812-
affine::AffineBuilder ab(b, loc);
38133812
AffineExpr d0, d1, d2;
38143813
bindDims(b.getContext(), d0, d1, d2);
38153814
reifiedReturnShapes[0][i] = affine::makeComposedFoldedAffineApply(

0 commit comments

Comments
 (0)