[PATCH] D104516: [mlir] Add a ThreadPool to MLIRContext and refactor MLIR threading usage

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 08:15:43 PDT 2021


lattner added a comment.

did you consider shoving the existing threadpool stuff into a `ManagedStatic`?  That is how we typically handle problems like this, they are destroyed on llvm_shutdown instead of at global deinit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104516/new/

https://reviews.llvm.org/D104516



More information about the llvm-commits mailing list