[PATCH] D137861: [MLIR] Move JitRunner Options to header, pass to mlirTransformer

Renato Golin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 12:29:37 PST 2022


rengolin created this revision.
rengolin added reviewers: mehdi_amini, ftynse, stephenneuendorffer, georgemitenkov, denis13.
Herald added subscribers: Moerafaat, zero9178, bzcheeseman, sdasgup3, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, mgester, arpith-jacob, antiagainst, shauheen, rriddle.
Herald added a reviewer: antiagainst.
Herald added a project: All.
rengolin requested review of this revision.
Herald added a subscriber: nicolasvasilache.
Herald added a project: MLIR.

This allows the MLIR transformer to see the command line options and
make desicions based on them. No change upstream, but my use-case is to
look at the entry point name and type to make sure I can use them.

This is what I'm doing downstream:
https://github.com/rengolin/tpp-sandbox/commit/773727bc26f9598666223541adea8fa872b2ac84


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137861

Files:
  mlir/include/mlir/ExecutionEngine/JitRunner.h
  mlir/lib/ExecutionEngine/JitRunner.cpp
  mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
  mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137861.474835.patch
Type: text/x-patch
Size: 10980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221111/4ebd64dc/attachment.bin>


More information about the llvm-commits mailing list