Skip to content

Commit 734ea9a

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in SelectObjectAttr.cpp (NFC)
1 parent fe68fb6 commit 734ea9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/lib/Target/LLVMIR/Dialect/GPU/SelectObjectAttr.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,10 @@ static LogicalResult embedBinaryImpl(StringRef moduleName,
124124
}
125125

126126
IRBuilder<> builder(module.getContext());
127-
auto i32Ty = builder.getInt32Ty();
128-
auto i64Ty = builder.getInt64Ty();
129-
auto ptrTy = builder.getPtrTy(0);
130-
auto voidTy = builder.getVoidTy();
127+
auto *i32Ty = builder.getInt32Ty();
128+
auto *i64Ty = builder.getInt64Ty();
129+
auto *ptrTy = builder.getPtrTy(0);
130+
auto *voidTy = builder.getVoidTy();
131131

132132
// Embed the module as a global object.
133133
auto *modulePtr = new GlobalVariable(

0 commit comments

Comments
 (0)