Skip to content
Commit a43b387f authored by Anna Thomas's avatar Anna Thomas
Browse files

[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.

llvm-svn: 306157
parent 4c2fc126
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment