[mlir][spirv] Define spv.IAddCarry
authorJakub Kuderski <kubak@google.com>
Fri, 5 Aug 2022 20:45:32 +0000 (16:45 -0400)
committerJakub Kuderski <kubak@google.com>
Fri, 5 Aug 2022 20:45:51 +0000 (16:45 -0400)
commit5c16eeb7ee13ab0b5eb52571998b9494475db301
tree62fa184f1c52f60ee137a11b615885ca024b943d
parent8d2901d53708b72ae3cb56ac78d3cd0e591db669
[mlir][spirv] Define spv.IAddCarry

Based on `spv.ISubBorrow` from D127909.
Also resolved some clang-tidy warnings.

Reviewed By: antiagainst, ThomasRaoux

Differential Revision: https://reviews.llvm.org/D131281
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/arithmetic-ops.mlir