]> granicus.if.org Git - llvm/commit
[NewPassManager] Run global dead code elimination after the inliner.
authorDavide Italiano <davide@freebsd.org>
Thu, 5 Oct 2017 18:36:01 +0000 (18:36 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 5 Oct 2017 18:36:01 +0000 (18:36 +0000)
commit6bfe1d944a70d4d98a323e8cb9e94e6fa0d44f9d
treef1360c9e9a268adb75ab4691be89c8129e0a811b
parent868915078330ebcf4090f5d9012fc92268043e60
[NewPassManager] Run global dead code elimination after the inliner.

This is the same exact change we did for the current pass manager
in rL314997, but the new pass manager pipeline already happened
to run GlobalOpt after the inliner, so we just insert a run of
GDCE here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Passes/PassBuilder.cpp
test/Other/new-pm-defaults.ll
test/Other/new-pm-thinlto-defaults.ll