[PATCH] D61446: Generalize the pass registration mechanism used by Polly to any third-party tool
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 00:13:36 PDT 2019
serge-sans-paille updated this revision to Diff 198588.
serge-sans-paille added a comment.
Update diff to make it less intrusive: using a declarative approach, each compiler extension registers itself as an extension, and thanks to cmake-generator-expression, it's possible to delay the evaluation of linked extensions until all extensions registered.
This way, we're independent from the code layout, no extra configuration variable is required and we only require that clang/opt/bugpoint targets are declared before the extensions.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61446/new/
https://reviews.llvm.org/D61446
Files:
CMakeLists.txt
cmake/modules/AddLLVM.cmake
include/llvm/Config/llvm-config.h.cmake
tools/CMakeLists.txt
tools/bugpoint/CMakeLists.txt
tools/bugpoint/bugpoint.cpp
tools/clang/tools/driver/CMakeLists.txt
tools/clang/tools/driver/cc1_main.cpp
tools/opt/CMakeLists.txt
tools/opt/NewPMDriver.cpp
tools/opt/opt.cpp
tools/polly/CMakeLists.txt
utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61446.198588.patch
Type: text/x-patch
Size: 11003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190508/5b5d69bd/attachment.bin>
More information about the llvm-commits
mailing list