[PATCH] D89158: [NewPM] Provide method to run all pipeline callbacks, used for -O0

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 9 17:51:16 PST 2020


Meinersbur added a comment.

In D89158#2384156 <https://reviews.llvm.org/D89158#2384156>, @aeubanks wrote:

> Are there passes that should be running at -O0 that aren't target specific? Otherwise the callbacks should only add passes if the optimization level isn't -O0.

At least for the legacy pass manager, there is an EP_EnabledOnOptLevel0 insertion point, that pass plugins can use to insert passes at -O0.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89158



More information about the cfe-commits mailing list