mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 03:05:15 +00:00
Silence an MSVC warning
llvm-svn: 124798
This commit is contained in:
parent
2753be260c
commit
e3aabdc892
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user