[all-commits] [llvm/llvm-project] 430917: [mlir] Add arith.addi_carry op
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Wed Aug 17 14:03:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4309170c871d3e17760b36a54936442e97cf265f
https://github.com/llvm/llvm-project/commit/4309170c871d3e17760b36a54936442e97cf265f
Author: Jakub Kuderski <kubak at google.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
Changed paths:
M mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
M mlir/test/Dialect/Arithmetic/canonicalize.mlir
M mlir/test/Dialect/Arithmetic/invalid.mlir
M mlir/test/Dialect/Arithmetic/ops.mlir
Log Message:
-----------
[mlir] Add arith.addi_carry op
The `arith.addi_carry` op implements integer addition with overflows. The carry is returned via the second result, as `i1`.
Reviewed By: antiagainst, bondhugula
Differential Revision: https://reviews.llvm.org/D131893
More information about the All-commits
mailing list