Skip to content

Commit 737119c

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-identifier-naming in Serializer.cpp (NFC)
1 parent 30e5d87 commit 737119c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mlir/lib/Target/SPIRV/Serialization/Serializer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -818,8 +818,8 @@ LogicalResult Serializer::prepareBasicType(
818818

819819
bool shaped = llvm::all_of(dims, [](const auto &dim) { return dim > 0; });
820820
if (rank > 0 && shaped) {
821-
auto I32Type = IntegerType::get(type.getContext(), 32);
822-
auto shapeType = ArrayType::get(I32Type, rank);
821+
auto i32Type = IntegerType::get(type.getContext(), 32);
822+
auto shapeType = ArrayType::get(i32Type, rank);
823823
if (rank == 1) {
824824
SmallVector<uint64_t, 1> index(rank);
825825
shapeID = prepareDenseElementsConstant(
@@ -1368,8 +1368,8 @@ LogicalResult Serializer::emitPhiForBlockArguments(Block *block) {
13681368
}
13691369
LLVM_DEBUG({
13701370
llvm::dbgs() << " block arguments:\n";
1371-
for (Value v : predecessors.back().second)
1372-
llvm::dbgs() << " " << v << "\n";
1371+
for (Value V : predecessors.back().second)
1372+
llvm::dbgs() << " " << V << "\n";
13731373
});
13741374
}
13751375

0 commit comments

Comments
 (0)