ExecutionEngine: drop PassManager integration
authorAlex Zinenko <zinenko@google.com>
Mon, 20 May 2019 08:31:29 +0000 (01:31 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 20 May 2019 20:48:45 +0000 (13:48 -0700)
commit44082282696cd30d9748dc6e0d7e708affe22365
tree367c4626dbd0f0d40db0a972840a921191089688
parent164c3c7ac5e66cc742663324e5ac93bf372fba2b
ExecutionEngine: drop PassManager integration

    Originally, ExecutionEngine was created before MLIR had a proper pass
    management infrastructure or an LLVM IR dialect (using the LLVM target
    directly).  It has been running a bunch of lowering passes to convert the input
    IR from Standard+Affine dialects to LLVM IR and, later, to the LLVM IR dialect.
    This is no longer necessary and is even undesirable for compilation flows that
    perform their own conversion to the LLVM IR dialect.  Drop this integration and
    make ExecutionEngine accept only the LLVM IR dialect.  Users of the
    ExecutionEngine can call the relevant passes themselves.

--

PiperOrigin-RevId: 249004676
mlir/bindings/python/pybind.cpp
mlir/examples/Linalg/Linalg3/Execution.cpp
mlir/examples/toy/Ch5/toyc.cpp
mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
mlir/lib/ExecutionEngine/CMakeLists.txt
mlir/lib/ExecutionEngine/ExecutionEngine.cpp
mlir/tools/mlir-cpu-runner/mlir-cpu-runner-lib.cpp