[Mlir-commits] [mlir] e22758d - Apply clang-tidy fixes for readability-identifier-naming in AffineOps.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Thu Sep 1 07:50:52 PDT 2022


Author: Mehdi Amini
Date: 2022-09-01T14:50:14Z
New Revision: e22758d7df9f4edff8fdbefa304d30d8d08de1f6

URL: https://github.com/llvm/llvm-project/commit/e22758d7df9f4edff8fdbefa304d30d8d08de1f6
DIFF: https://github.com/llvm/llvm-project/commit/e22758d7df9f4edff8fdbefa304d30d8d08de1f6.diff

LOG: Apply clang-tidy fixes for readability-identifier-naming in AffineOps.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Dialect/Affine/IR/AffineOps.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
index ae1a4a320a14d..7506996a83373 100644
--- a/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
+++ b/mlir/lib/Dialect/Affine/IR/AffineOps.cpp
@@ -4041,10 +4041,10 @@ LogicalResult AffineVectorStoreOp::verify() {
 //===----------------------------------------------------------------------===//
 
 void AffineDelinearizeIndexOp::build(OpBuilder &builder, OperationState &result,
-                                     Value linear_index,
+                                     Value linearIndex,
                                      ArrayRef<OpFoldResult> basis) {
   result.addTypes(SmallVector<Type>(basis.size(), builder.getIndexType()));
-  result.addOperands(linear_index);
+  result.addOperands(linearIndex);
   SmallVector<Value> basisValues =
       llvm::to_vector(llvm::map_range(basis, [&](OpFoldResult ofr) -> Value {
         Optional<int64_t> staticDim = getConstantIntValue(ofr);


        


More information about the Mlir-commits mailing list