diff options
author | Philip Pfaffe <philip.pfaffe@gmail.com> | 2018-11-12 11:17:07 +0000 |
---|---|---|
committer | Philip Pfaffe <philip.pfaffe@gmail.com> | 2018-11-12 11:17:07 +0000 |
commit | 2d4effb25c7a82728684c7f042ff9bb06bb5f3bd (patch) | |
tree | c520108b921b8b880fc5fa24b88b3d52706917b8 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 2c7f3d32825fc1cf181dc9748329768bf77d9d47 (diff) | |
download | llvm-2d4effb25c7a82728684c7f042ff9bb06bb5f3bd.zip llvm-2d4effb25c7a82728684c7f042ff9bb06bb5f3bd.tar.gz llvm-2d4effb25c7a82728684c7f042ff9bb06bb5f3bd.tar.bz2 |
Add an OptimizerLast EP
Summary:
It turns out that we need an OptimizerLast PassBuilder extension point
after all. I missed the relevance of this EP the first time. By legacy PM magic,
function passes added at this EP get added to the last _Function_ PM, which is a
feature we lost when dropping this EP for the new PM.
A key difference between this and the legacy PassManager's OptimizerLast
callback is that this extension point is not triggered at O0. Extensions
to the O0 pipeline should append their passes to the end of the overall
pipeline.
Differential Revision: https://reviews.llvm.org/D54374
llvm-svn: 346645
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions