[Mlir-commits] [mlir] bafc3a2 - [mlir][arith] Fix comment typo. NFC.

Jakub Kuderski llvmlistbot at llvm.org
Wed Dec 7 14:22:08 PST 2022


Author: Jakub Kuderski
Date: 2022-12-07T17:21:41-05:00
New Revision: bafc3a2b2254b0bb2a18f2654d43bbaecd42c03e

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

LOG: [mlir][arith] Fix comment typo. NFC.

Added: 
    

Modified: 
    mlir/lib/Dialect/Arith/IR/ArithOps.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Arith/IR/ArithOps.cpp b/mlir/lib/Dialect/Arith/IR/ArithOps.cpp
index 0a2a8a9f550b..dd6e8606542d 100644
--- a/mlir/lib/Dialect/Arith/IR/ArithOps.cpp
+++ b/mlir/lib/Dialect/Arith/IR/ArithOps.cpp
@@ -249,7 +249,7 @@ arith::AddUIExtendedOp::fold(ArrayRef<Attribute> operands,
     return success();
   }
 
-  // addui_overflow(constant_a, constant_b) -> constant_sum, constant_carry
+  // addui_extended(constant_a, constant_b) -> constant_sum, constant_carry
   // Let the `constFoldBinaryOp` utility attempt to fold the sum of both
   // operands. If that succeeds, calculate the overflow bit based on the sum
   // and the first (constant) operand, `lhs`. Note that we cannot simply call


        


More information about the Mlir-commits mailing list