We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf4c815 commit 16d1bfbCopy full SHA for 16d1bfb
mlir/lib/Conversion/GPUToNVVM/WmmaOpsToNvvm.cpp
@@ -286,7 +286,7 @@ struct WmmaConstantOpToNVVMLowering
286
Type type = convertMMAToLLVMType(
287
cast<gpu::MMAMatrixType>(subgroupMmaConstantOp.getType()));
288
// If the element is not a struct, it means it's a scalar f64.
289
- LLVM::LLVMStructType structType = dyn_cast<LLVM::LLVMStructType>(type);
+ auto structType = dyn_cast<LLVM::LLVMStructType>(type);
290
if (!structType) {
291
rewriter.replaceOp(subgroupMmaConstantOp, cst);
292
return success();
0 commit comments