Is anyone already working on the new pass manager? https://github.com/rust-lang/rust/issues/64289
If not, I would be interested to try this myself
Nope, not aware of anyone working on newpm yet. Feel free :)
Did you have any luck with newpm?
I started poking at it a little, mostly to learn how the new bits work, nothing to run yet
unfortunately I got sidetracked with other work
Looking forward to seeing this in action. Apparently the new pass manager can improve optimization quality: https://groups.google.com/d/msg/llvm-dev/CZmUJC4gMjQ/004NTMEYBAAJ
FYI this is still on my mind, but personal life has been intense lately
I's there any summary on how the new pass manager is different from the old one and why?
I know the new pass manager was a multi-year effort, but I used only the most basic functionality in the old pass manager myself, so I find it hard to imagine why it would be such a big deal.
I'm not really familiar either, but I believe the main difference and advantage is in how it manages analysis passes.
I believe those get computed more lazily now and also get invalidated more lazily (e.g. if a transform pass doesn't make any changes, even if it does not explicitly preserve some specific analysis.)
And apparently some kinds of analysis couldn't be accessed in some types of transformation passes before ... or something.