[PATCH] D137796: Remove TargetMachine::adjustPassManager

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 07:52:20 PST 2022


aeubanks added a comment.

could I have a couple days until submitting this? we have one more internal usage of this



================
Comment at: llvm/docs/NewPassManager.rst:526
+removed in opt the function isn't needed any longer. In the new PM such
+adjustments is done by using ``TargetMachine::registerPassBuilderCallbacks()``.
 
----------------
Readers might think that they have to add code to do this. It was already mentioned above that PassBuilder automatically does this, but I think reiterating that this is done automatically would be good


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137796/new/

https://reviews.llvm.org/D137796



More information about the llvm-commits mailing list