summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-04-13 21:43:21 +0000
committerMatthias Braun <matze@braunis.de>2016-04-13 21:43:21 +0000
commit588d1cdad486dcddd8fe410bdc6e7080c1cfdbdd (patch)
treeda934bd2e6a7fc1bc49bfbb57956548b4bffa70b /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp
parent74a0bd319ad9a6bca95684d4c87851e4583725e9 (diff)
downloadbcm5719-llvm-588d1cdad486dcddd8fe410bdc6e7080c1cfdbdd.tar.gz
bcm5719-llvm-588d1cdad486dcddd8fe410bdc6e7080c1cfdbdd.zip
X86: Use a callee save register for the swiftself parameter.
It is very likely that the swiftself parameter is alive throughout most functions function so putting it into a callee save register should avoid spills for the callers with only a minimum amount of extra spills in the callees. Currently the generated code is correct but unnecessarily spills and reloads arguments passed in callee save registers, I will address this in upcoming patches. This also adds a missing check that for tail calls the preserved value of the caller must be the same as the callees parameter. Differential Revision: http://reviews.llvm.org/D18902 llvm-svn: 266252
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud