Begin implementation of an inline spiller.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 29 Jun 2010 23:58:39 +0000 (23:58 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 29 Jun 2010 23:58:39 +0000 (23:58 +0000)
commit914f2ff9e6969214d84a75745ec2851f045000f7
tree75fc7b31586c0616750a5fbf6696d3fcbe44691e
parent6c9fa437167bf420e6cc4b0b577910d634b09ac5
Begin implementation of an inline spiller.

InlineSpiller inserts loads and spills immediately instead of deferring to
VirtRegMap. This is possible now because SlotIndexes allows instructions to be
inserted and renumbered.

This is work in progress, and is mostly a copy of TrivialSpiller so far. It
works very well for functions that don't require spilling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107227 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineRegisterInfo.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/InlineSpiller.cpp [new file with mode: 0644]
lib/CodeGen/Spiller.cpp