Change weight into a float so that we can take into account the
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 21 Dec 2003 20:19:10 +0000 (20:19 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sun, 21 Dec 2003 20:19:10 +0000 (20:19 +0000)
commit6b4edbaaf9021e0434f0ce0c3724eb43ed41b770
treea37baf95e09c52fae7e10e2f034303b4d0d1b4f9
parent595bb97fc745172204980f0addcabc76f5f9f843
Change weight into a float so that we can take into account the
nesting level when computing it. Right now the allocator uses:

    w = sum_over_defs_uses( 10 ^ nesting level );

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