[mlir] Avoid crash of UnsignedWhenEquivalent for no integer type.
authorjacquesguan <Jianjian.Guan@streamcomputing.com>
Thu, 5 Jan 2023 09:06:35 +0000 (17:06 +0800)
committerjacquesguan <Jianjian.Guan@streamcomputing.com>
Tue, 10 Jan 2023 02:05:02 +0000 (10:05 +0800)
commit93f081c896536112e1ca8133991d23cb1134793a
tree301d2a2a019f341388251544d45ccf19d93f885b
parentf4c887c3a8406d85f4f942c8350f10026994f4d8
[mlir] Avoid crash of UnsignedWhenEquivalent for no integer type.

Fixes https://github.com/llvm/llvm-project/issues/59617.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D141038
mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
mlir/test/Dialect/Arith/unsigned-when-equivalent.mlir