[mlir][Index] Add index.mins and index.minu
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Mon, 9 Jan 2023 17:05:54 +0000 (17:05 +0000)
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Tue, 10 Jan 2023 21:41:59 +0000 (21:41 +0000)
commit8cdb4f9f66439729ff7a6781fd7d765f9e2b44c4
treea327c6f97d2f0b2fcf767580cf4a4c3d47c21a05
parent6496824ebaf29a39239c1df1b508490382dca2f7
[mlir][Index] Add index.mins and index.minu

Signed and unsigned minimum operations were missing from the Index
dialect and are needed to test integer range inference.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D141299
mlir/include/mlir/Dialect/Index/IR/IndexOps.td
mlir/lib/Conversion/IndexToLLVM/IndexToLLVM.cpp
mlir/lib/Dialect/Index/IR/IndexOps.cpp
mlir/test/Conversion/IndexToLLVM/index-to-llvm.mlir
mlir/test/Dialect/Index/index-canonicalize.mlir
mlir/test/Dialect/Index/index-ops.mlir