File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
mlir/lib/Dialect/Linalg/Transforms Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -372,8 +372,8 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
372
372
Value shapeTensor = shapeInitTensor;
373
373
for (const auto &[i, size] : llvm::enumerate (sizes)) {
374
374
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" );
377
377
Value dim =
378
378
(maybeConstInt.has_value ())
379
379
? rewriter
@@ -397,7 +397,7 @@ FailureOr<LowerPackResult> linalg::lowerPack(RewriterBase &rewriter,
397
397
loc, reshapeOp->getResult (0 ), packOp.getDest (), transpPerm);
398
398
399
399
LLVM_DEBUG (DBGSNL (); DBGSNL (); DBGSNL ();
400
- DBGS () << " reshape op: " << & reshapeOp; DBGSNL ();
400
+ DBGS () << " reshape op: " << reshapeOp; DBGSNL ();
401
401
llvm::interleaveComma (transpPerm, DBGS () << " transpPerm: " );
402
402
DBGSNL (); DBGS () << " transpose op: " << transposeOp; DBGSNL (););
403
403
You can’t perform that action at this time.
0 commit comments