[mlir][arith][NFC] Add missing index_cast fold tests
authorJakub Kuderski <kubak@google.com>
Wed, 29 Mar 2023 14:40:11 +0000 (10:40 -0400)
committerJakub Kuderski <kubak@google.com>
Wed, 29 Mar 2023 14:40:12 +0000 (10:40 -0400)
commit28858d5902f84ab760c8531061d43539e2135ae1
tree55684c29ce05bc9126b8201fdb5fb1bd6a325c5b
parent57492b1eeb99761afbe97a893df19b934c11e6f1
[mlir][arith][NFC] Add missing index_cast fold tests

It wasn't immediately obvious to me if index-to-integer casts were
folded or not.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D147104
mlir/test/Dialect/Arith/canonicalize.mlir