[all-commits] [llvm/llvm-project] 6bce7d: [mlir][mlir-opt] Disable multithreading when parsi...

River Riddle via All-commits all-commits at lists.llvm.org
Mon May 4 17:32:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bce7d8d67c497306dc1c28ae5328e6a4c6efdab
      https://github.com/llvm/llvm-project/commit/6bce7d8d67c497306dc1c28ae5328e6a4c6efdab
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-05-04 (Mon, 04 May 2020)

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

  Log Message:
  -----------
  [mlir][mlir-opt] Disable multithreading when parsing the input module.

This removes the unnecessary/costly context synchronization when parsing, as the context is guaranteed to not be used by any other threads.




More information about the All-commits mailing list