Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl"
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:25 +0000 (17:22 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 18 Apr 2014 17:22:25 +0000 (17:22 +0000)
commit54850bedf20b85da4a2a7f3a77e6622f76417d03
tree05873b7df77029fe5983b1b4a8f66c2d95cc1e8f
parent1e1954f7496dfa14eab09eef5adcf0991c28fc3b
Reapply "blockfreq: Rewrite BlockFrequencyInfoImpl"

This reverts commit r206556, effectively reapplying commit r206548 and
its fixups in r206549 and r206550.

In an intervening commit I've added target triples to the tests that
were failing remotely [1] (but passing locally).  I'm hoping the mystery
is solved?  I'll revert this again if the tests are still failing
remotely.

[1]: http://bb.pgr.jp/builders/ninja-x64-msvc-RA-centos6/builds/1816

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206622 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/Analysis/BlockFrequencyInfoImpl.h
lib/Analysis/BlockFrequencyInfo.cpp
lib/Analysis/BlockFrequencyInfoImpl.cpp [new file with mode: 0644]
lib/Analysis/CMakeLists.txt
lib/CodeGen/MachineBlockFrequencyInfo.cpp
test/Analysis/BlockFrequencyInfo/bad_input.ll [new file with mode: 0644]
test/Analysis/BlockFrequencyInfo/basic.ll
test/Analysis/BlockFrequencyInfo/double_exit.ll [new file with mode: 0644]
test/Analysis/BlockFrequencyInfo/irreducible.ll [new file with mode: 0644]
test/Analysis/BlockFrequencyInfo/loop_with_branch.ll [new file with mode: 0644]
test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll [new file with mode: 0644]
test/CodeGen/XCore/llvm-intrinsics.ll