aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2014-03-31 21:06:36 +0000
committerManman Ren <manman.ren@gmail.com>2014-03-31 21:06:36 +0000
commit63efd8e7e68bcc066aaf2e65cc119191373c8868 (patch)
treed9f5f43fa43baea01e14fc0e45b054c9638f9b36 /clang/lib/CodeGen/CodeGenModule.cpp
parentf751d6272d0ab6c049a383302961276c0e5fc5dc (diff)
downloadllvm-63efd8e7e68bcc066aaf2e65cc119191373c8868.zip
llvm-63efd8e7e68bcc066aaf2e65cc119191373c8868.tar.gz
llvm-63efd8e7e68bcc066aaf2e65cc119191373c8868.tar.bz2
Register allocator: set CSRFirstUseCost to 5 for ARM64.
A value of 5 means if we have a split or spill option that has a really low cost (1 << 14 is the entry frequency), we will choose to spill or split the really cold path before using a callee-saved register. This gives us the performance benefit on SPECInt2k and is also conservative. rdar://16162005 llvm-svn: 205248
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions