Skip to content

Commit b99b920

Browse files
committed
lint
1 parent 19201c6 commit b99b920

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4434,8 +4434,8 @@ static LogicalResult commonVerifierPackAndUnPackOp(OpTy packOrUnPack) {
44344434

44354435
// Verify inner_dims_pos and outer_dims_perm.
44364436
ShapedType unpackedType = (std::is_same<OpTy, PackOp>::value)
4437-
? packOrUnPack.getSourceType()
4438-
: packOrUnPack.getDestType();
4437+
? packOrUnPack.getSourceType()
4438+
: packOrUnPack.getDestType();
44394439
size_t unpackedRank = unpackedType.getRank();
44404440
ArrayRef<int64_t> innerDimsPos = packOrUnPack.getInnerDimsPos();
44414441
ArrayRef<int64_t> outerDimPerm = packOrUnPack.getOuterDimsPerm();
@@ -4969,8 +4969,7 @@ LogicalResult PackOp::canonicalize(PackOp packOp, PatternRewriter &rewriter) {
49694969
}
49704970

49714971
template <typename PackOrUnpackOp>
4972-
static bool isLikePadUnPad(PackOrUnpackOp packOp,
4973-
ShapedType packedTensorType) {
4972+
static bool isLikePadUnPad(PackOrUnpackOp packOp, ShapedType packedTensorType) {
49744973
static_assert(std::is_same<PackOrUnpackOp, PackOp>::value ||
49754974
std::is_same<PackOrUnpackOp, UnPackOp>::value,
49764975
"Function meant for pack/unpack");

0 commit comments

Comments
 (0)