[Mlir-commits] [mlir] [mlir] Reduce contention in parallel pass execution and timing (PR #232948)

Markus Böck llvmlistbot at llvm.org
Wed Oct 21 01:04:10 PDT 2026


================
@@ -115,6 +115,13 @@ class TimingManager {
   explicit TimingManager();
   virtual ~TimingManager();
 
+  /// Whether timer operations may run concurrently on different threads. Each
+  /// timer must still be started and stopped on one thread, and parent timers
+  /// must outlive their children. Configuration and reporting are not covered
+  /// by this guarantee. The pass manager serializes timing callbacks unless
+  /// the timing manager opts in here.
----------------
zero9178 wrote:

```suggestion
  /// by this guarantee.
```
Seems oddly specific again to mention in a support util

https://github.com/llvm/llvm-project/pull/232948


More information about the Mlir-commits mailing list