[mlir][arith] Add `sitofp` support to WIE
authorJakub Kuderski <kubak@google.com>
Wed, 22 Mar 2023 23:09:48 +0000 (19:09 -0400)
committerJakub Kuderski <kubak@google.com>
Wed, 22 Mar 2023 23:12:16 +0000 (19:12 -0400)
commitabfc358cff0c0cfc8ffbc6c164d97e13a18a1685
treee45582ffcbf124b39be77d10d317e59ec46abb16
parent909e5ce47a70181dead332826e93f89b2928f0c0
[mlir][arith] Add `sitofp` support to WIE

This depends on the handling of `uitofp` in D146606.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D146597
mlir/lib/Dialect/Arith/Transforms/EmulateWideInt.cpp
mlir/test/Dialect/Arith/emulate-wide-int.mlir
mlir/test/Integration/Dialect/Arith/CPU/test-wide-int-emulation-sitofp-i32.mlir [new file with mode: 0644]