summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/BlockFrequencyInfo/redundant_edges.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert part of "Cleanup some GraphTraits iteration code"Duncan P. N. Exon Smith2017-12-081-0/+22
This reverts part of r300656, which caused a regression in propagateMassToSuccessors by counting edges n^2 times, where n is the number of edges from the source basic block to the same successor basic block. The result was both incorrect and very slow to compute for large values of n (e.g. switches with multiple cases that go to the same basic block). Patch by Andrew Scheidecker! llvm-svn: 320208
OpenPOWER on IntegriCloud