We were using llvm::nulls, but that isn't thread safe so we switch to giving each thread it's own null stream.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D100578
[mlir][AsmPrinter] Fix multi-threaded segfault by using explicit null stream per thread ClosedPublic Authored by rriddle on Apr 15 2021, 10:48 AM.
Details Summary We were using llvm::nulls, but that isn't thread safe so we switch to giving each thread it's own null stream.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 15 2021, 11:09 AM Closed by commit rGb1260109fb48: [mlir][AsmPrinter] Fix multi-threaded segfault by using explicit null stream… (authored by rriddle). · Explain WhyApr 15 2021, 12:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 337828 mlir/lib/IR/AsmPrinter.cpp
|