Set mlir-cpu-runner JIT codegen opt level correctly
authorUday Bondhugula <udayb@iisc.ac.in>
Sat, 7 Sep 2019 16:59:47 +0000 (09:59 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 7 Sep 2019 17:00:25 +0000 (10:00 -0700)
commit713ab0dde796f65e6289f9af1f3fe279d17554d0
tree5fe2a0cb827dcd4e3e9afbc16fb3b27e4b2fc391
parent53bb528b192a3c965e37f0ca4ac480f8db956070
Set mlir-cpu-runner JIT codegen opt level correctly

- the JIT codegen was being run at the default -O0 level; instead,
  propagate the opt level from the cmd line.

Signed-off-by: Uday Bondhugula <uday@polymagelabs.com>
Closes tensorflow/mlir#123

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/123 from bondhugula:jit-runner 3b055e47f94c9a48bf487f6400787478738cda02
PiperOrigin-RevId: 267778586
mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
mlir/lib/ExecutionEngine/ExecutionEngine.cpp
mlir/lib/Support/JitRunner.cpp