Simplify LiveIntervals::getApproximateInstructionCount().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 25 Apr 2012 16:32:23 +0000 (16:32 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 25 Apr 2012 16:32:23 +0000 (16:32 +0000)
commit50e1d84ba8efc1973137c65e0b0e048ecf8cf5d6
tree843b9edeb4572920a0e44fd8a4558a61d9fe1cd1
parenta62efd82ccb979df9e7b8f99913c83d698a6994e
Simplify LiveIntervals::getApproximateInstructionCount().

This function is only used for a heuristic during -join-physregs. It
doesn't need floating point.

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