Print block frequencies in decimal form.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 25 Jun 2013 21:57:38 +0000 (21:57 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 25 Jun 2013 21:57:38 +0000 (21:57 +0000)
commitb1c0cc22dd5854a77e5699e80ce37545315b98ed
tree4c8275ab3a169fca79bdabf2cc12c9957118c610
parent5e48a0e9ae2365a130dd1ec2e0b4beb337ab79e0
Print block frequencies in decimal form.

This is easier to read than the internal fixed-point representation.

If anybody knows the correct algorithm for converting fixed-point
numbers to base 10, feel free to fix it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/BlockFrequency.cpp
test/Analysis/BlockFrequencyInfo/basic.ll