Skip to content

Commit f4ca565

Browse files
minor fixups
Signed-off-by: Muzammiluddin Syed <[email protected]>
1 parent 9d8ffbd commit f4ca565

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/AMDGPU/IR/AMDGPUDialect.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,9 @@ struct PackScales final : OpRewritePattern<ScaledMFMAOp> {
716716
op, "no packing if # of scales less than four");
717717
}
718718

719-
// Find a linearized idx using the size and offsets of the extract op
720-
SmallVector<int64_t> extractedPos(llvm::to_vector_of<int64_t>(
721-
llvm::reverse(extractOp.getStaticPosition())));
719+
// Find a linearized idx using the size and offsets of the extract op.
720+
auto extractedPos = llvm::to_vector_of<int64_t>(
721+
llvm::reverse(extractOp.getStaticPosition()));
722722
ArrayRef<int64_t> scaleSrcShape = scaleSrcType.getShape();
723723
int64_t scaleSrcRank = scaleSrcType.getRank();
724724
SmallVector<int64_t> extractSizes(scaleSrcRank, 1);

0 commit comments

Comments
 (0)