aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorAnna Thomas <anna@azul.com>2017-06-25 21:13:58 +0000
committerAnna Thomas <anna@azul.com>2017-06-25 21:13:58 +0000
commite7cb633d2914b89b95f662d628ee41ac52ad9f33 (patch)
tree98a551f9b43763def34ba01ec68a6d9096149d40 /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent4c6cd4ccb77cc994765dc9677278e48abf08ed69 (diff)
downloadllvm-e7cb633d2914b89b95f662d628ee41ac52ad9f33.zip
llvm-e7cb633d2914b89b95f662d628ee41ac52ad9f33.tar.gz
llvm-e7cb633d2914b89b95f662d628ee41ac52ad9f33.tar.bz2
[LoopDeletion] NFC: Move phi node value setting into prepass
Recommit NFC patch (rL306157) where I missed incrementing the basic block iterator, which caused loop deletion tests to hang due to infinite loop. Had reverted it in rL306162. rL306157 commit message: 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. llvm-svn: 306254
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions