Skip to content

Commit 7074ad7

Browse files
committed
Apply clang-tidy fixes for llvm-qualified-auto in GPUToSPIRVPass.cpp (NFC)
1 parent 47b2b30 commit 7074ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void GPUToSPIRVPass::runOnOperation() {
146146
builder.setInsertionPoint(funcOp);
147147
auto newFuncOp = builder.create<func::FuncOp>(
148148
funcOp.getLoc(), funcOp.getName(), funcOp.getFunctionType());
149-
auto entryBlock = newFuncOp.addEntryBlock();
149+
auto *entryBlock = newFuncOp.addEntryBlock();
150150
builder.setInsertionPointToEnd(entryBlock);
151151
builder.create<func::ReturnOp>(funcOp.getLoc());
152152
newFuncOp->setAttr(gpu::GPUDialect::getKernelFuncAttrName(),

0 commit comments

Comments
 (0)