[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:09 PDT 2026


================
@@ -41,6 +41,13 @@ class PassInstrumentation {
 
   virtual ~PassInstrumentation() = 0;
 
+  /// Whether callbacks may run concurrently on different threads. By default,
+  /// the pass instrumentor serializes callbacks. Opting in requires all shared
+  /// state, including any supplied timing manager, to support concurrent use.
----------------
zero9178 wrote:

```suggestion
  /// state to support concurrent use.
```
mentioning the timing manager here seems oddly specific 

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


More information about the Mlir-commits mailing list