[PATCH] D89158: [NewPM] Provide method to run all pipeline callbacks, used for -O0
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 11 11:57:39 PST 2020
aeubanks added a comment.
In D89158#2388991 <https://reviews.llvm.org/D89158#2388991>, @Meinersbur wrote:
> Could you try configuring LLVM with `-DLLVM_BYE_LINK_INTO_TOOLS=ON`? I assume the test will break because it unconditionally adds a FunctionPass.
Thanks, I wasn't aware of this. Looks like other `opt -passes='default<O#>'` tests also look at if it present or not.
The following already fail with `-DLLVM_BYE_LINK_INTO_TOOLS=ON`
LLVM :: Other/opt-O0-pipeline.ll
LLVM :: Other/opt-O2-pipeline.ll
LLVM :: Other/opt-O3-pipeline-enable-matrix.ll
LLVM :: Other/opt-O3-pipeline.ll
LLVM :: Other/opt-Os-pipeline.ll
these are all legacy PM related.
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