Skip to content

Commit 194f819

Browse files
committed
Revert accidental change
1 parent 48deca0 commit 194f819

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
372372
Value shapeTensor = shapeInitTensor;
373373
for (const auto &[i, size] : llvm::enumerate(sizes)) {
374374
auto maybeConstInt = getConstantIntValue(size);
375-
assert(maybeConstInt.has_value() ||
376-
expandDestType.isDynamicDim(i) && "expected dynamic dim");
375+
assert((maybeConstInt.has_value() || expandDestType.isDynamicDim(i)) &&
376+
"expected dynamic dim");
377377
Value dim =
378378
(maybeConstInt.has_value())
379379
? rewriter
@@ -397,7 +397,7 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
397397
loc, reshapeOp->getResult(0), packOp.getDest(), transpPerm);
398398

399399
LLVM_DEBUG(DBGSNL(); DBGSNL(); DBGSNL();
400-
DBGS() << "reshape op: " << &reshapeOp; DBGSNL();
400+
DBGS() << "reshape op: " << reshapeOp; DBGSNL();
401401
llvm::interleaveComma(transpPerm, DBGS() << "transpPerm: ");
402402
DBGSNL(); DBGS() << "transpose op: " << transposeOp; DBGSNL(););
403403

0 commit comments

Comments
 (0)