[mlir][Index] Implement InferIntRangeInterface, re-land
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Mon, 9 Jan 2023 17:09:17 +0000 (17:09 +0000)
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Fri, 20 Jan 2023 20:32:30 +0000 (20:32 +0000)
commit5af9d16dae71f2c2087ba88c5fc06893e6aecfe9
tree5e8217e7ab36211a6857488124575c69f4f7da0d
parent5b4ed4905017a052501becfde8dd1fca1e476ee3
[mlir][Index] Implement InferIntRangeInterface, re-land

Re-land D140899 to fix a missing dependency in the index dialect's
CMakeLists.txt.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D142147
mlir/include/mlir/Dialect/Index/IR/IndexOps.h
mlir/include/mlir/Dialect/Index/IR/IndexOps.td
mlir/include/mlir/Interfaces/Utils/InferIntRangeCommon.h [new file with mode: 0644]
mlir/lib/Dialect/Arith/IR/CMakeLists.txt
mlir/lib/Dialect/Arith/IR/InferIntRangeInterfaceImpls.cpp
mlir/lib/Dialect/Index/IR/CMakeLists.txt
mlir/lib/Dialect/Index/IR/InferIntRangeInterfaceImpls.cpp [new file with mode: 0644]
mlir/lib/Interfaces/CMakeLists.txt
mlir/lib/Interfaces/Utils/CMakeLists.txt [new file with mode: 0644]
mlir/lib/Interfaces/Utils/InferIntRangeCommon.cpp [new file with mode: 0644]
mlir/test/Dialect/Index/int-range-inference.mlir [new file with mode: 0644]