[mlir] Adds getUpperBound() to LoopLikeInterface.
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Tue, 8 Mar 2022 18:39:52 +0000 (18:39 +0000)
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>
Tue, 19 Apr 2022 19:56:44 +0000 (19:56 +0000)
commitddc2eb0ada99cab81b6fae5f0cca999643a4b9f7
tree000f2c9f4922b186bf691aeb0ed098770beae774
parent0eb403ad1b0c4d052ed93b58892c6432f78e0e7d
[mlir] Adds getUpperBound() to LoopLikeInterface.

getUpperBound is analogous to getLowerBound(), except for the upper
bound, and is used in range analysis.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D124020
mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
mlir/include/mlir/Dialect/SCF/SCFOps.td
mlir/include/mlir/Interfaces/LoopLikeInterface.td
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
mlir/lib/Dialect/SCF/SCF.cpp