[mlir][arith] Add integration test for shrui emulation
authorJakub Kuderski <kubak@google.com>
Tue, 20 Sep 2022 15:27:48 +0000 (11:27 -0400)
committerJakub Kuderski <kubak@google.com>
Tue, 20 Sep 2022 15:29:05 +0000 (11:29 -0400)
commit883048be84779e730b09d0826607d6cac45fad03
tree16ccdeaa02b6e9e244c1da93ff921357968e70d0
parent242d558658cd5a480b02883e2982d7246342e0d0
[mlir][arith] Add integration test for shrui emulation

The new test cases focus on known edge cases in the current implementation.
Specifically, we check for low (0, 1), mid (7, 8, 9) and high (15) shift amounts with i16 operands.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D134182
mlir/test/Integration/Dialect/Arithmetic/CPU/test-wide-int-emulation-shrui-i16.mlir [new file with mode: 0644]