Remove floats from live range splitting costs.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 16 Jul 2013 18:26:18 +0000 (18:26 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 16 Jul 2013 18:26:18 +0000 (18:26 +0000)
commit03ef600623704e6dbf6ef0322062395e7b70bcd2
tree948645b9c873b99897f3dfff34d77c19a0c3f425
parent6d9fe79afe3a325fb05165758a20470475aca8e6
Remove floats from live range splitting costs.

These floats all represented block frequencies anyway, so just use the
BlockFrequency class directly.

Some floating point computations remain in tryLocalSplit(). They are
estimating spill weights which are still floats.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp
lib/CodeGen/SpillPlacement.h