[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
Thu Jun 1 14:05:22 PDT 2017


philip.pfaffe updated this revision to Diff 101102.
philip.pfaffe marked 12 inline comments as done.
philip.pfaffe added a comment.

Addressed review comments.

The two main things are:

- Remove the extension point enum and replace it with individual callbacks
- Get rid of the invoke() functions and inline them everywhere


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.101102.patch
Type: text/x-patch
Size: 32512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170601/42ee3937/attachment.bin>


More information about the llvm-commits mailing list