This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix tsan failure in PassCrashRecovery
ClosedPublic

Authored by rriddle on Oct 13 2021, 11:51 AM.

Details

Summary

Don't set printOpOnDiagnostic, as this is not safe to call from a threaded context.

Diff Detail

Event Timeline

rriddle created this revision.Oct 13 2021, 11:51 AM
rriddle requested review of this revision.Oct 13 2021, 11:51 AM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 18 2021, 8:30 AM
This revision was automatically updated to reflect the committed changes.

This is simple enough so just pushing directly.