commit | 93ca10c6fc059f62410991917361a52fbe425913 | [log] [tgz] |
---|---|---|
author | Anna Thomas <anna@azul.com> | Fri Jun 23 20:38:50 2017 +0000 |
committer | Anna Thomas <anna@azul.com> | Fri Jun 23 20:38:50 2017 +0000 |
tree | f731517119c782c637576d1ceda6d01d5224634a | |
parent | c8bc59b0b3300a974d5cf0837bdd9f6268d97bc1 [diff] |
[LoopDeletion] NFC: Move phi node value setting into prepass Currently, the implementation of delete dead loops has a special case when the loop being deleted is never executed. This special case (updating of exit block's incoming values for phis) can be run as a prepass for non-executable loops before performing the actual deletion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306157 91177308-0d34-0410-b5e6-96231b3b80d8