[PATCH] D88138: [NPM] Add target specific hook to add passes for New Pass Manager

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 12:06:45 PDT 2020


kparzysz added a comment.

In D88138#2294304 <https://reviews.llvm.org/D88138#2294304>, @quic_aankit wrote:

> My understanding is that this API gives other applications chance to modify the pass pipeline.

This is to allow target-specific passes to be inserted into the pass pipeline.  This is the exact equivalent of `adjustPassManager` for the legacy manager.  See `EmitAssemblyHelper::CreatePasses` in clang/lib/CodeGen/BackendUtil.cpp.


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

https://reviews.llvm.org/D88138



More information about the llvm-commits mailing list