summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/BlockFrequencyInfo/irreducible_loop_crash.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PM] port Branch Frequency Analaysis pass to new PMXinliang David Li2016-05-051-0/+1
| | | | llvm-svn: 268687
* Fix PR 24723 - Handle 0-mass backedges in irreducible loopsDiego Novillo2015-09-081-0/+155
This corner case happens when we have an irreducible SCC that is deeply nested. As we work down the tree, the backedge masses start getting smaller and smaller until we reach one that is down to 0. Since we distribute the incoming mass using the backedge masses as weight, the distributor does not allow zero weights. So, we simply ignore them (which will just use the weights of the non-zero nodes). llvm-svn: 247050
OpenPOWER on IntegriCloud