[PATCH] D33464: [PM][WIP] Enable out-of-tree registration of passes with the new PassBuilder
Philip Pfaffe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 15:20:16 PDT 2017
philip.pfaffe updated this revision to Diff 101636.
philip.pfaffe marked 8 inline comments as done.
philip.pfaffe added a comment.
Address (most) review comments.
- Mostly comments and rename a few things.
- Move parsing callback invocations to after the builtin passes
Running callbacks last during parsing last means that callers are now unable to "steal" pass names.
https://reviews.llvm.org/D33464
Files:
include/llvm/Passes/PassBuilder.h
lib/Passes/PassBuilder.cpp
test/Other/new-pm-lto-defaults.ll
tools/opt/NewPMDriver.cpp
unittests/IR/CMakeLists.txt
unittests/IR/HookManagerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33464.101636.patch
Type: text/x-patch
Size: 36511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170606/1f91e532/attachment.bin>
More information about the llvm-commits
mailing list