Silence an MSVC warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2011-02-03 17:04:12 +00:00
parent c38a03eeca
commit 9590c7fbca

View File

@ -154,7 +154,7 @@ struct SpillPlacement::Node {
// 1. It avoids arbitrary bias when all links are 0 as is possible during
// initial iterations.
// 2. It helps tame rounding errors when the links nominally sum to 0.
const float Thres = 1e-4;
const float Thres = 1e-4f;
bool Before = preferReg();
if (Sum < -Thres)
Value = -1;