Skip to content

Commit 7a9d429

Browse files
committed
format
1 parent e154dd4 commit 7a9d429

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2369,7 +2369,8 @@ struct AMDGPUMakeDmaDescriptorLowering
23692369
Value sgpr0, ArrayRef<Value> consts) const {
23702370
// Compute data_size.
23712371
int elementTypeWidthInBits = op.getElementTypeWidth();
2372-
assert(llvm::is_contained({8, 16, 32, 64}, elementTypeWidthInBits) && "expected type width to be 8, 16, 32, or 64.");
2372+
assert(llvm::is_contained({8, 16, 32, 64}, elementTypeWidthInBits) &&
2373+
"expected type width to be 8, 16, 32, or 64.");
23732374
int dataSize = llvm::Log2_32(elementTypeWidthInBits / 8);
23742375
return createI32Constant(rewriter, loc, dataSize << 16);
23752376
}

0 commit comments

Comments
 (0)