summaryrefslogtreecommitdiff
path: root/docs/CodingStandards.rst
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-08 19:18:56 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-08 19:18:56 +0000
commit861e4db90533e6ba7de77c33d7a06857433616ff (patch)
tree3b0ce623b6837a91acc34d9fc7e20df9dcfd8223 /docs/CodingStandards.rst
parentc0c10f20a20f281b79adf4b9cf995c5144338078 (diff)
downloadllvm-861e4db90533e6ba7de77c33d7a06857433616ff.tar.gz
llvm-861e4db90533e6ba7de77c33d7a06857433616ff.tar.bz2
llvm-861e4db90533e6ba7de77c33d7a06857433616ff.tar.xz
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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodingStandards.rst')
0 files changed, 0 insertions, 0 deletions