diff options
author | Derek Schuff <dschuff@google.com> | 2016-05-17 08:49:59 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2016-05-17 08:49:59 +0000 |
commit | 1aaf87e91de46f251193664f3eed180c8609e403 (patch) | |
tree | 1006ff539e5fe1b9aca0e62effe930b5f429a3d2 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 02c21b3ef9407a112ad35e252e2bf8ce88903de4 (diff) | |
download | bcm5719-llvm-1aaf87e91de46f251193664f3eed180c8609e403.tar.gz bcm5719-llvm-1aaf87e91de46f251193664f3eed180c8609e403.zip |
Factor PrologEpilogInserter around spilling, frame finalization, and scavenging
PrologEpilogInserter has these 3 phases, which are related, but not
all of them are needed by all targets. This patch reorganizes PEI's
varous functions around those phases for more clear separation. It also
introduces a new TargetMachine hook, usesPhysRegsForPEI, which is true
for non-virtual targets. When it is true, all the phases operate as
before, and PEI requires the AllVRegsAllocated property on
MachineFunctions. Otherwise, CSR spilling and scavenging are skipped and
only prolog/epilog insertion/frame finalization is done.
Differential Revision: http://reviews.llvm.org/D18366
llvm-svn: 269750
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions