1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib
Evan Cheng 28aa6c41d1 In some rare cases, the register allocator can spill registers but end up not utilizing registers at all. The fundamental problem is linearscan's backtracking can end up freeing more than one allocated registers. However, reloads and restores might be folded into uses / defs and freed registers might not be used at all.
VirtRegMap keeps track of allocations so it knows what's not used. As a horrible hack, the stack coloring can color spill slots with *free* registers. That is, it replace reload and spills with copies from and to the free register. It unfold instructions that load and store the spill slot and replace them with register using variants.

Not yet enabled. This is part 1. More coming.

llvm-svn: 70787
2009-05-03 18:32:42 +00:00
..
Analysis -Move the DwarfWriter::ValidDebugInfo check to a static DIDescriptor::ValidDebugInfo 2009-05-03 08:50:41 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser testcase and asmparser fix for PR4066 2009-04-25 21:26:00 +00:00
Bitcode Make a major API change to BitstreamReader: split all the reading 2009-04-26 20:59:02 +00:00
CodeGen In some rare cases, the register allocator can spill registers but end up not utilizing registers at all. The fundamental problem is linearscan's backtracking can end up freeing more than one allocated registers. However, reloads and restores might be folded into uses / defs and freed registers might not be used at all. 2009-05-03 18:32:42 +00:00
CompilerDriver -write-graph now can be used with -o. 2009-03-27 12:57:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Set FnEnd in JITEmitter::finishFunction to point strictly to the end of function's machine code. 2009-04-30 23:01:58 +00:00
Linker Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
Support Move helper functions for optimizing division by constant into the APInt 2009-04-30 10:15:35 +00:00
System Fix choice of version of Windows callback to use to consider not only the Visual Studio version, but also the Windows SDK version. 2009-04-28 16:37:58 +00:00
Target Handle implicit zext in a better way. Shamelessly stolen from x86 backend. 2009-05-03 15:50:18 +00:00
Transforms Revert r70645 for now; it's causing a variety of regressions. 2009-05-03 05:46:20 +00:00
VMCore Apply Jeffrey Yasskin's CallbackVH patch, with minor tweaks from me 2009-05-02 21:10:48 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00