[all-commits] [llvm/llvm-project] a32300: Make the --mlir-disable-threading command line opt...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Sep 14 20:21:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a32300a68f6c94b7b275e3560ed31e9174cec5ad
      https://github.com/llvm/llvm-project/commit/a32300a68f6c94b7b275e3560ed31e9174cec5ad
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Support/MlirOptMain.cpp

  Log Message:
  -----------
  Make the --mlir-disable-threading command line option overrides the C++ API usage

This seems in-line with the intent and how we build tools around it.
Update the description for the flag accordingly.
Also use an injected thread pool in MLIROptMain, now we will create
threads up-front and reuse them across split buffers.

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




More information about the All-commits mailing list