aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-04-14 15:30:27 +0200
committerNikita Popov <npopov@redhat.com>2023-04-17 13:04:26 +0200
commit73b6b323c501870814cdc6b3cee4a66feb6171ef (patch)
treeb718708d444a0fdbde97017be7b188037f91fcb9 /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parentfd63a7d5c8a6b6b86546ef5427f3c0485fdf9bd3 (diff)
downloadllvm-73b6b323c501870814cdc6b3cee4a66feb6171ef.zip
llvm-73b6b323c501870814cdc6b3cee4a66feb6171ef.tar.gz
llvm-73b6b323c501870814cdc6b3cee4a66feb6171ef.tar.bz2
[Pipelines] Add LoopSink and DivRemPairs to LTO post-link pipeline
As pointed out in D148010, these passes are missing from the LTO post-link pipeline. They are present in the pre-link pipeline, but LoopSink is completely useless there (it will always be fully undone by LICM post-link) and DivRemPairs is mostly useless (I believe most of what it does will be undone by InstCombine). I've not added RelLookupTableConverterPass, because it's also disabled in the LTO pre-link pipeline, with a comment that there is an unresolved issue with full LTO. Compile-time impact of the extra passes is minimal. Of course, LoopSink will have a larger impact in PGO builds. Differential Revision: https://reviews.llvm.org/D148343
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions