[PATCH] D61446: Generalize the pass registration mechanism used by Polly to any third-party tool
serge via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 4 08:43:17 PDT 2019
serge-sans-paille updated this revision to Diff 202950.
serge-sans-paille added a comment.
Take into account @philip.pfaffe remarks and improve support for new PM.
- harmonize static/dynamic loading, although two functions are still needed, one for dynamic loading and one for static loading (new PM)
- do not clutter the required API with extra namespaces
I've updated https://sergesanspaille.fedorapeople.org/bye.tgz to showcase a minimal example.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61446/new/
https://reviews.llvm.org/D61446
Files:
clang/tools/driver/CMakeLists.txt
clang/tools/driver/cc1_main.cpp
llvm/CMakeLists.txt
llvm/cmake/modules/AddLLVM.cmake
llvm/docs/WritingAnLLVMPass.rst
llvm/include/llvm/Config/llvm-config.h.cmake
llvm/tools/CMakeLists.txt
llvm/tools/bugpoint/CMakeLists.txt
llvm/tools/bugpoint/bugpoint.cpp
llvm/tools/opt/CMakeLists.txt
llvm/tools/opt/NewPMDriver.cpp
llvm/tools/opt/opt.cpp
llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
polly/CMakeLists.txt
polly/lib/Support/RegisterPasses.cpp
polly/test/Unit/lit.site.cfg.in
polly/test/lit.site.cfg.in
polly/test/update_check.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61446.202950.patch
Type: text/x-patch
Size: 19839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190604/7523b003/attachment-0001.bin>
More information about the cfe-commits
mailing list