Issue 52862
Summary Ambiguous comment in Inliner async needs clarification
Labels mlir:core
Assignees River707
Reporter stellaraccident
    In `InlinerPass::optimizeSCCAsync`, there is a comment:

```
  // Note: The number of pass managers here needs to remain constant
  // to prevent issues with pass instrumentations that rely on having the same
  // pass manager for the main thread.
```

A couple of us stared at this during a code review of some adjacent code and couldn't quite get the connection. Since it seems to be documenting an action at a distance effect, it would be good to understand the intent for posterity.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to