BugFix for the cfoptbug.c:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 20 May 2007 03:10:27 +0000 (03:10 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 20 May 2007 03:10:27 +0000 (03:10 +0000)
commitec32296290c3aaa8c5043668443a374b2747143b
tree977474cfedbfb8403717f6c61ef40f67f44a1510
parentcc9e943991e0457b30236478427a44f91ed0084e
BugFix for the cfoptbug.c:
Removed the old "defer" code, this code was wrong (and the old replacement code as well). After that, the original code was revived.
However, now ALL Phi nodes are copied even those unused.

Added keep-alive optimizer killing useless keep-alives.
This kills some created useless nodes.
It does not help with endless loops :-(

Possible fix: use back edges to check if there are users ...

[r13929]
ir/opt/cfopt.c