commit | 2c1442e1b2ea874a8766025e2ccff96e87879c2b | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Oct 22 20:28:23 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Oct 22 20:28:23 2010 +0000 |
tree | 67da5117071c8c9ab0c209ca828f11342e5d4c14 | |
parent | 532de3dc6ea98387368954c0ac0e07b0adca8b62 [diff] |
Be more strict when detecting critical edges before loop splitting. An exit block with a critical edge must only have predecessors in the loop, or just before the loop. This guarantees that the inserted copies in the loop predecessors dominate the exit block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117144 91177308-0d34-0410-b5e6-96231b3b80d8