aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/BranchProbabilityTest.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-29 16:31:29 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-29 16:31:29 +0000
commit547183bf87bfe4a974fa1e6cea86d9a5dcf7530f (patch)
treeccf5b90e7161411f600be77c873b6a40ef6533ec /llvm/unittests/Support/BranchProbabilityTest.cpp
parentb92de02f1744572d0a07df099da909f3204c2404 (diff)
downloadllvm-547183bf87bfe4a974fa1e6cea86d9a5dcf7530f.zip
llvm-547183bf87bfe4a974fa1e6cea86d9a5dcf7530f.tar.gz
llvm-547183bf87bfe4a974fa1e6cea86d9a5dcf7530f.tar.bz2
blockfreq: Defer to BranchProbability::scale() (again)
Change `BlockFrequency` to defer to `BranchProbability::scale()` and `BranchProbability::scaleByInverse()`. This removes `BlockFrequency::scale()` from its API (and drops the ability to see the remainder), but the only user was the unit tests. If some code in the future needs an API that exposes the remainder, we can add something to `BranchProbability`, but I find that unlikely. llvm-svn: 207550
Diffstat (limited to 'llvm/unittests/Support/BranchProbabilityTest.cpp')
0 files changed, 0 insertions, 0 deletions