[mlir][arith] Add initial files for (runtime) integration tests
authorJakub Kuderski <kubak@google.com>
Fri, 16 Sep 2022 15:49:41 +0000 (11:49 -0400)
committerJakub Kuderski <kubak@google.com>
Fri, 16 Sep 2022 15:52:48 +0000 (11:52 -0400)
commite41498dddb00e6a44f77315039ee288266bddf71
tree1fc0f0a4a10b9b73115362d98c7921ef3e51dfef
parente438f2d821119439c2b05b2fef7617064a6233bc
[mlir][arith] Add initial files for (runtime) integration tests

The goal is to have a set of runtime tests for further extercise the
wide integer emulation pass and its conversion patterns. This was
suggested by @Mogball in D133629.

Add a minimal runtime test to demonstrate that printing and pass
pipeline works as expected.

Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D134004
mlir/lib/Dialect/Arithmetic/Transforms/EmulateWideInt.cpp
mlir/test/Integration/Dialect/Arithmetic/CPU/lit.local.cfg [new file with mode: 0644]
mlir/test/Integration/Dialect/Arithmetic/CPU/test-wide-int-emulation-constants-i16.mlir [new file with mode: 0644]