[all-commits] [llvm/llvm-project] a7db3c: [mlir][NFC] Use options struct in ExecutionEngine:...

Emilio Cota via All-commits all-commits at lists.llvm.org
Wed Feb 23 07:33:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7db3c611b1e613ae43ef472c2352f2b81a0b607
      https://github.com/llvm/llvm-project/commit/a7db3c611b1e613ae43ef472c2352f2b81a0b607
  Author: Emilio Cota <ecg at google.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M mlir/examples/toy/Ch6/toyc.cpp
    M mlir/examples/toy/Ch7/toyc.cpp
    M mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
    M mlir/lib/CAPI/ExecutionEngine/ExecutionEngine.cpp
    M mlir/lib/ExecutionEngine/ExecutionEngine.cpp
    M mlir/lib/ExecutionEngine/JitRunner.cpp

  Log Message:
  -----------
  [mlir][NFC] Use options struct in ExecutionEngine::create

Its number of optional parameters has grown too large,
which makes adding new optional parameters quite a chore.

Fix this by using an options struct.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D120380




More information about the All-commits mailing list