[PATCH] D88107: [NewPM] Add callbacks to PassBuilder to run before/after parsing a pass
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 17:23:37 PDT 2020
aeubanks added a comment.
Turns out this doesn't actually work as intended...
The callbacks need to be done at the addPass() level, or else something like 'default<O3 <https://reviews.llvm.org/owners/package/3/>>' only runs the callbacks once, even though it adds a bunch of passes. Will probably revert once I come up with something better.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88107/new/
https://reviews.llvm.org/D88107
More information about the llvm-commits
mailing list