This is an archive of the discontinued LLVM Phabricator instance.

Make the --mlir-disable-threading command line option overrides the C++ API usage
ClosedPublic

Authored by mehdi_amini on Sep 14 2021, 6:40 PM.

Details

Summary

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.

Diff Detail

Event Timeline

mehdi_amini created this revision.Sep 14 2021, 6:40 PM
mehdi_amini requested review of this revision.Sep 14 2021, 6:40 PM
jpienaar accepted this revision.Sep 14 2021, 7:09 PM

Makes sense to me/inline with debugging behavior

This revision is now accepted and ready to land.Sep 14 2021, 7:09 PM

Fix the conditional (it was reversed)

This revision was landed with ongoing or failed builds.Sep 14 2021, 8:21 PM
This revision was automatically updated to reflect the committed changes.