Skip to content

Commit 9a2a6a7

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in Utils.cpp (NFC)
1 parent 74cf9bc commit 9a2a6a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/GPU/TransformOps/Utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ static Value buildLinearId(RewriterBase &rewriter, Location loc,
5555
llvm::dbgs() << "\n");
5656
assert(originalBasisOfr.size() == 3 && "expected 3 sizes");
5757
IndexType indexType = rewriter.getIndexType();
58-
AffineExpr tx, ty, tz, BDX, BDY;
58+
AffineExpr tx, ty, tz, bdx, bdy;
5959
bindDims(rewriter.getContext(), tx, ty, tz);
60-
bindSymbols(rewriter.getContext(), BDX, BDY);
60+
bindSymbols(rewriter.getContext(), bdx, bdy);
6161
SmallVector<OpFoldResult> vals{
6262
rewriter.create<ThreadOrBlockIdOp>(loc, indexType, Dimension::x)
6363
.getResult(),
@@ -67,7 +67,7 @@ static Value buildLinearId(RewriterBase &rewriter, Location loc,
6767
.getResult(),
6868
originalBasisOfr[0], originalBasisOfr[1]};
6969
OpFoldResult ofr = affine::makeComposedFoldedAffineApply(
70-
rewriter, loc, tx + ty * BDX + tz * BDX * BDY, vals);
70+
rewriter, loc, tx + ty * bdx + tz * bdx * bdy, vals);
7171
return getValueOrCreateConstantIndexOp(rewriter, loc, ofr);
7272
}
7373

0 commit comments

Comments
 (0)