Skip to content

Commit 16d1bfb

Browse files
committed
address review
1 parent bf4c815 commit 16d1bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ struct WmmaConstantOpToNVVMLowering
286286
Type type = convertMMAToLLVMType(
287287
cast<gpu::MMAMatrixType>(subgroupMmaConstantOp.getType()));
288288
// If the element is not a struct, it means it's a scalar f64.
289-
LLVM::LLVMStructType structType = dyn_cast<LLVM::LLVMStructType>(type);
289+
auto structType = dyn_cast<LLVM::LLVMStructType>(type);
290290
if (!structType) {
291291
rewriter.replaceOp(subgroupMmaConstantOp, cst);
292292
return success();

0 commit comments

Comments
 (0)