
Rollforward of #69032, which was reverted in
[63d19cf](63d19cfd85
).
New: implemented changes in
https://github.com/llvm/llvm-project/pull/69032#issuecomment-1809250162.
Given the PassBuilder is how we expect users to register passes, the
tutorial should reflect that.