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 9797190 commit 9408b46Copy full SHA for 9408b46
mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
@@ -642,7 +642,7 @@ LogicalResult GPUPrintfConversion::matchAndRewrite(
642
return rewriter.create<mlir::spirv::SpecConstantOp>(
643
loc, rewriter.getStringAttr(specCstName), attr);
644
};
645
-
+
646
// define GlobalVarOp with printf format string using SpecConstants
647
// and make composite of SpecConstants
648
{
@@ -685,7 +685,7 @@ LogicalResult GPUPrintfConversion::matchAndRewrite(
685
686
globalVar->setAttr("Constant", rewriter.getUnitAttr());
687
}
688
689
// Get SSA value of Global variable
690
mlir::Value globalPtr =
691
rewriter.create<mlir::spirv::AddressOfOp>(loc, globalVar);
0 commit comments