Add TTI pass initialization to pass managers.
authorDiego Caballero <diego.caballero@intel.com>
Tue, 6 Aug 2019 05:13:56 +0000 (22:13 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 6 Aug 2019 05:14:27 +0000 (22:14 -0700)
commit68587dfc15f2b009a60f4393663381f00b092342
tree3eef8a8cfaa26c5da9a97e4b2534e79d65d793f7
parenta0df3ebd15e84eab052ebf1f9e8cd4e561f7b4aa
Add TTI pass initialization to pass managers.

Many LLVM transformations benefits from knowing the targets. This enables optimizations,
especially in a JIT context when the target is (generally) well-known.

Closes tensorflow/mlir#49

PiperOrigin-RevId: 261840617
mlir/examples/toy/Ch5/toyc.cpp
mlir/include/mlir/ExecutionEngine/OptUtils.h
mlir/lib/ExecutionEngine/OptUtils.cpp
mlir/lib/Support/JitRunner.cpp