From 9b170d126f4bbc1bd2ca818bfd80c8b1265a8f66 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 6 Oct 2022 19:23:43 +0000 Subject: [PATCH] Apply clang-tidy fixes for readability-identifier-naming in SparseBufferRewriting.cpp (NFC) --- mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp index 8faaf33..bc09772 100644 --- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp +++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp @@ -569,9 +569,9 @@ public: for (Value v : values) { auto mtp = v.getType().cast(); if (!mtp.isDynamicDim(0)) { - auto new_mtp = + auto newMtp = MemRefType::get({ShapedType::kDynamicSize}, mtp.getElementType()); - v = rewriter.create(loc, new_mtp, v); + v = rewriter.create(loc, newMtp, v); } operands.push_back(v); } -- 2.7.4