blockfreq: Clean up irreducible testcases
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Apr 2014 04:38:35 +0000 (04:38 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Apr 2014 04:38:35 +0000 (04:38 +0000)
commite838db3104f1b7ffd3d3717b174f1f1c900bf53a
tree2d707266df646f5f0a320bc641b858b3df5b9d29
parent16df231a8281dfa3a538940883cdf3231a801ffa
blockfreq: Clean up irreducible testcases

Strip irreducible testcases to pure control flow.  The function calls
made the branch weights more believable but cluttered it up a lot.
There isn't going to be any constant analysis here, so just use dumb
branch logic to clarify the important parts.

<rdar://problem/14292693>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207192 91177308-0d34-0410-b5e6-96231b3b80d8
test/Analysis/BlockFrequencyInfo/irreducible.ll