diff options
author | Matthias Braun <matze@braunis.de> | 2016-04-13 21:43:16 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-04-13 21:43:16 +0000 |
commit | 74a0bd319ad9a6bca95684d4c87851e4583725e9 (patch) | |
tree | c9ead54fd5427204fba0dff817df736c0a289eca /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp | |
parent | b10e8932737b4e5cc5669298097bdcf30c492332 (diff) | |
download | bcm5719-llvm-74a0bd319ad9a6bca95684d4c87851e4583725e9.tar.gz bcm5719-llvm-74a0bd319ad9a6bca95684d4c87851e4583725e9.zip |
AArch64: Use a callee save registers for swiftself parameters
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/D19007
llvm-svn: 266251
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions