[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 19:27:36 PDT 2020
aeubanks added a comment.
In D88107#2291548 <https://reviews.llvm.org/D88107#2291548>, @ychen wrote:
> In D88107#2291529 <https://reviews.llvm.org/D88107#2291529>, @aeubanks wrote:
>
>> Actually, doing verify-each in StandardInstrumentations seems much nicer. Not sure about how to do debugify-each though, filed https://bugs.llvm.org/show_bug.cgi?id=47633.
>
> If debugify-each has or could be made to have a standalone function interface, could it use StandardInstrumentations?
The issue is that it modifies the IR, which can't be done from StandardInstrumentations (invalidating analyses, etc.).
-verify doesn't modify the IR.
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