This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Destroy MLIRContext thread pool when disable multi threading
ClosedPublic

Authored by ezhulenev on Jun 28 2021, 1:01 PM.

Diff Detail

Event Timeline

ezhulenev created this revision.Jun 28 2021, 1:01 PM
ezhulenev requested review of this revision.Jun 28 2021, 1:01 PM
rriddle accepted this revision.Jun 28 2021, 1:05 PM
rriddle added inline comments.
mlir/lib/IR/MLIRContext.cpp
265

Can you use Optional here instead?

580–586
This revision is now accepted and ready to land.Jun 28 2021, 1:05 PM
ezhulenev updated this revision to Diff 355011.Jun 28 2021, 1:12 PM

Use Optional to store a thread pool

ezhulenev marked an inline comment as done.Jun 28 2021, 1:13 PM
This revision was landed with ongoing or failed builds.Jun 28 2021, 1:27 PM
This revision was automatically updated to reflect the committed changes.