diff --git a/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp b/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp index 5e2bc50cc886..812fbd60473a 100644 --- a/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp +++ b/mlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp @@ -349,10 +349,10 @@ public: coroSize = rewriter.create(op->getLoc(), coroSize, coroAlign); coroSize = rewriter.create(op->getLoc(), coroSize, makeConstant(1)); - Value NegCoroAlign = + Value negCoroAlign = rewriter.create(op->getLoc(), makeConstant(0), coroAlign); coroSize = - rewriter.create(op->getLoc(), coroSize, NegCoroAlign); + rewriter.create(op->getLoc(), coroSize, negCoroAlign); // Allocate memory for the coroutine frame. auto allocFuncOp = LLVM::lookupOrCreateAlignedAllocFn(