diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-08 19:18:56 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-08 19:18:56 +0000 |
| commit | a5df813e51da920c83e0dd7d39816f956ba7ceca (patch) | |
| tree | 179e5bbc18b374a11c96aef8d2c2bf03330e755b /llvm/docs/CodeGenerator.rst | |
| parent | a775e51274bd08c01f440032ce7c3df243fc9672 (diff) | |
| download | bcm5719-llvm-a5df813e51da920c83e0dd7d39816f956ba7ceca.tar.gz bcm5719-llvm-a5df813e51da920c83e0dd7d39816f956ba7ceca.zip | |
RegAlloc: Account for a variable entry block frequency
Until r197284, the entry frequency was constant -- i.e., set to 2^14.
Although current ToT still has a constant entry frequency, since r197284
that has been an implementation detail (which is soon going to change).
- r204690 made the wrong assumption for the CSRCost metric. Adjust
callee-saved register cost based on entry frequency.
- r185393 made the wrong assumption (although it was valid at the
time). Update SpillPlacement.cpp::Threshold to be relative to the
entry frequency.
Since ToT still has 2^14 entry frequency, this should have no observable
functionality change.
<rdar://problem/14292693>
llvm-svn: 205789
Diffstat (limited to 'llvm/docs/CodeGenerator.rst')
0 files changed, 0 insertions, 0 deletions

