[mlir][arith] Improve EmulateWideInt diagnostics
authorJakub Kuderski <kubak@google.com>
Tue, 11 Oct 2022 18:24:38 +0000 (14:24 -0400)
committerJakub Kuderski <kubak@google.com>
Tue, 11 Oct 2022 18:24:54 +0000 (14:24 -0400)
commita73846ebe968b58bcb3797cbfd6fcb479c31850e
tree569ff02e6ee5fda07efc9a4ab0612e970a23b068
parenteab5c2f94f5aae17c3fc513ee347ee9bc1d2bcae
[mlir][arith] Improve EmulateWideInt diagnostics

Print unsupported types on match failures.

Suggested by @Mogball and @jpienaar in D135204.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D135673
mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp