[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 18:14:00 PST 2020
Meinersbur added a comment.
My point is that it is possible for a pass plugin (such as `llvm/examples/Bye`) that can add themselves to the -O0 pipeline. If those plugins are linked statically, it will break tests that assume that no passes are added at those extension points.
I don't quite understand why Polly breaks anything: Unlike the "Bye" pass, it only adds something to the pass pipeline when `-polly` is passed to the command line. If it helps, I could change Polly to not even add a callback unless enabled. However, this does not solve the general pass plugin problem.
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