| commit | b3380ea60a3688e64bf6843553fa0c07363fdf76 | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Apr 22 03:31:53 2014 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Apr 22 03:31:53 2014 +0000 |
| tree | b87cb0f572f31afd3513f8030edcb0a1fbd0fdb2 | |
| parent | d1aec79d7ab57ca7c7387dc8b97f8a7b5f1d58c9 [diff] |
blockfreq: Skip irreducible backedges inside functions The branch that skips irreducible backedges was only active when propagating mass at the top-level. In particular, when propagating mass through a loop recognized by `LoopInfo` with irreducible control flow inside, irreducible backedges would not be skipped. Not sure where that idea came from, but the result was that mass was lost until after loop exit. Added a testcase that covers this case. llvm-svn: 206860