llvm-project/mlir/test/mlir-cpu-runner
Mehdi Amini 765d60fd4d Add missing lowering to CFG in mlir-cpu-runner + related cleanup
- the list of passes run by mlir-cpu-runner included -lower-affine and
  -lower-to-llvm but was missing -lower-to-cfg (because -lower-affine at
  some point used to lower straight to CFG); add -lower-to-cfg in
  between. IR with affine ops can now be run by mlir-cpu-runner.

- update -lower-to-cfg to be consistent with other passes (create*Pass methods
  were changed to return unique ptrs, but -lower-to-cfg appears to have been
  missed).

- mlir-cpu-runner was unable to parse custom form of affine op's - fix
  link options

- drop unnecessary run options from test/mlir-cpu-runner/simple.mlir
  (none of the test cases had loops)

- -convert-to-llvmir was changed to -lower-to-llvm at some point, but the
  create pass method name wasn't updated (this pass converts/lowers to LLVM
  dialect as opposed to LLVM IR). Fix this.

(If we prefer "convert", the cmd-line options could be changed to
"-convert-to-llvm/cfg" then.)

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>

Closes tensorflow/mlir#115

PiperOrigin-RevId: 266666909
2019-09-01 11:33:22 -07:00
..
include Export symbols in cpu runner cblas library 2019-06-19 23:07:54 -07:00
CMakeLists.txt Export symbols in cpu runner cblas library 2019-06-19 23:07:54 -07:00
cblas.cpp Automated rollback of commit 3708f53219 2019-07-26 11:05:17 -07:00
cblas_interface.cpp Add lowering of linalg.copy to an external C++ library and a test. 2019-08-23 11:09:53 -07:00
linalg_integration_test.mlir Add lowering of linalg.copy to an external C++ library and a test. 2019-08-23 11:09:53 -07:00
lit.local.cfg Disable the mlir-cpu-runner tests on win32. llvm orc does not support the COFF rtld. 2019-06-01 20:08:12 -07:00
simple.mlir Add missing lowering to CFG in mlir-cpu-runner + related cleanup 2019-09-01 11:33:22 -07:00