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)
commitefeb3a196932361b80a01cddb824ee0e389279ef
tree1892e7f71639ca4d0ef8c494c915c51af5a3eabd
parentc5454ff0465cc11974f8f499d697c2fe1ebcfcc1
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.

llvm-svn: 186435
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/SpillPlacement.h