Change the heuristics used in the coalescer, register allocator, and within
authorOwen Anderson <resistor@mac.com>
Tue, 22 Jul 2008 22:46:49 +0000 (22:46 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 22 Jul 2008 22:46:49 +0000 (22:46 +0000)
commita1566f2e12ce87a5bca30bc0189a0cdbb40136a4
treefecdd6cd2ded8963a4015584d9de5f7f4329a765
parent38bcec13e89b33fd6b0553ec47667744c54fbb7b
Change the heuristics used in the coalescer, register allocator, and within
live intervals itself to use an instruction count approximation that is
not affected by inserting empty indices.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53937 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h