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

Mehdi Amini llvmlistbot at llvm.org
Sun Jan 30 11:49:38 PST 2022


Author: Mehdi Amini
Date: 2022-01-30T19:49:22Z
New Revision: f65994c9f19d334bafe8564c4df9e4de8d7f9a52

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

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

Added: 
    

Modified: 
    mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp b/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
index 5e2bc50cc886f..812fbd60473ab 100644
--- a/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
+++ b/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
@@ -349,10 +349,10 @@ class CoroBeginOpConversion : public OpConversionPattern<CoroBeginOp> {
     coroSize = rewriter.create<LLVM::AddOp>(op->getLoc(), coroSize, coroAlign);
     coroSize =
         rewriter.create<LLVM::SubOp>(op->getLoc(), coroSize, makeConstant(1));
-    Value NegCoroAlign =
+    Value negCoroAlign =
         rewriter.create<LLVM::SubOp>(op->getLoc(), makeConstant(0), coroAlign);
     coroSize =
-        rewriter.create<LLVM::AndOp>(op->getLoc(), coroSize, NegCoroAlign);
+        rewriter.create<LLVM::AndOp>(op->getLoc(), coroSize, negCoroAlign);
 
     // Allocate memory for the coroutine frame.
     auto allocFuncOp = LLVM::lookupOrCreateAlignedAllocFn(


        


More information about the Mlir-commits mailing list