llvm-6502/lib
Jakob Stoklund Olesen cc07e04262 Reverse order of RS_Split live ranges under -compact-regions.
There are two conflicting strategies in play:

- Under high register pressure, we want to assign large live ranges
  first. Smaller live ranges are easier to place afterwards.

- Live range splitting is guided by interference, so splitting should be
  deferred until interference is as realistic as possible.

With the recent changes to the live range stages, and with compact
regions enabled, it is less traumatic to split a live range too early.
If some of the split products were too big, they can often be split
again.

By reversing the RS_Split order, we get this queue order:

1. Normal live ranges, large to small.
2. RS_Split live ranges, large to small.

The large-to-small order improves RAGreedy's puzzle solving skills under
high register pressure. It may cause a bit more iterated splitting, but
we handle that better now.

With this change, -compact-regions is mostly an improvement on SPEC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136388 91177308-0d34-0410-b5e6-96231b3b80d8
2011-07-28 20:48:23 +00:00
..
Analysis Use BlockFrequency instead of uint32_t in BlockFrequencyInfo. 2011-07-27 22:05:51 +00:00
Archive
AsmParser Make sure that the landingpad instruction takes a Constant* as the clause's value. 2011-07-28 02:27:12 +00:00
Bitcode Make sure that the landingpad instruction takes a Constant* as the clause's value. 2011-07-28 02:27:12 +00:00
CodeGen Reverse order of RS_Split live ranges under -compact-regions. 2011-07-28 20:48:23 +00:00
CompilerDriver
ExecutionEngine - Move CodeModel from a TargetMachine global option to MCCodeGenInfo. 2011-07-20 07:51:56 +00:00
Linker Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used. 2011-07-18 12:00:32 +00:00
MC Support .code32 and .code64 in X86 assembler. 2011-07-27 00:38:12 +00:00
Object ObjectFile: Add a method to check whether a section contains a symbol. 2011-07-15 18:39:21 +00:00
Support Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function. 2011-07-28 00:29:20 +00:00
Target Add fixme. 2011-07-28 19:46:12 +00:00
Transforms Some minor cleanups. No functionalitical change. 2011-07-28 07:44:07 +00:00
VMCore Don't add in the asked for size so that we don't copy too much from the old to new vectors. 2011-07-28 07:26:41 +00:00
CMakeLists.txt
Makefile