llvm-6502/lib
Jakob Stoklund Olesen ebac0c1747 Spill mode: Hoist back-copies locally.
The leaveIntvAfter() function normally inserts a back-copy after the
requested instruction, making the back-copy kill the live range.

In spill mode, try to insert the back-copy before the last use instead.
That means the last use becomes the kill instead of the back-copy.  This
lowers the register pressure because the last use can now redefine the
same register it was reading.

This will also improve compile time: The back-copy isn't a kill, so
hoisting it in hoistCopiesForSize() won't force a recomputation of the
source live range.  Similarly, if the back-copy isn't hoisted by the
splitter, the spiller will not attempt hoisting it locally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139883 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-16 00:03:35 +00:00
..
Analysis Add support to emit debug info for C++0x nullptr type. 2011-09-14 23:13:28 +00:00
Archive Rewrite the CMake build to use explicit dependencies between libraries, 2011-07-29 00:14:25 +00:00
AsmParser Auto upgrade the old EH scheme to use the new one. This is on a trial basis. If 2011-08-27 06:11:03 +00:00
Bitcode Don't forget to add the landingpad and resume instructions to the InstructionList. 2011-09-01 00:50:20 +00:00
CodeGen Spill mode: Hoist back-copies locally. 2011-09-16 00:03:35 +00:00
CompilerDriver
DebugInfo DWARF: Reset the state after parsing a line table prologue and remove an unnecessary lookup. 2011-09-15 21:59:13 +00:00
ExecutionEngine Fix the asserts in lib/Target/X86/X86ELFWriterInfo.cpp and 2011-09-10 01:42:07 +00:00
Linker switch to the new struct api. 2011-08-12 18:07:26 +00:00
MC Don't attach annotations to MCInst's. Instead, have the disassembler return, and the printer accept, an annotation string which can be passed through if the client cares about annotations. 2011-09-15 23:38:46 +00:00
Object Object: make the following changes into SymbolRef 2011-09-14 01:22:52 +00:00
Support use 64-bit types instead of off_t/size_t to avoid the issue when 2011-09-15 23:13:00 +00:00
Target Remove incorrect comments. 2011-09-15 23:45:50 +00:00
Transforms Reapply r139759. Disable IV rewriting by default. See PR10916. 2011-09-15 20:58:37 +00:00
VMCore Add a check to make sure schedulePass() has not deleted stale RequiredPass. 2011-09-13 21:13:29 +00:00
CMakeLists.txt Sketch out a DWARF parser. 2011-09-13 19:42:23 +00:00
Makefile Sketch out a DWARF parser. 2011-09-13 19:42:23 +00:00