| commit | aca738b7424189e4937295de9f297124cc07b10f | [log] [tgz] |
|---|---|---|
| author | Easwaran Raman <eraman@google.com> | Thu Aug 16 00:26:59 2018 +0000 |
| committer | Easwaran Raman <eraman@google.com> | Thu Aug 16 00:26:59 2018 +0000 |
| tree | 9d3a58d181b262aab095934f965e3d6d6e1f56c0 | |
| parent | bc86a99f780fce86a2a214d896f5bc1afb1c9b74 [diff] |
[BFI] Use rounding while computing profile counts. Summary: Profile count of a block is computed by multiplying its block frequency by entry count and dividing the result by entry block frequency. Do rounded division in the last step and update test cases appropriately. Reviewers: davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D50822 llvm-svn: 339835