projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c38a03e
)
Silence an MSVC warning
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 3 Feb 2011 17:04:12 +0000
(17:04 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 3 Feb 2011 17:04:12 +0000
(17:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124798
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SpillPlacement.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SpillPlacement.cpp
b/lib/CodeGen/SpillPlacement.cpp
index ee92a59c9bc67906ca2f0c6fbfbfb77363d0e953..cf24a22d16e147c1cf2df572b56433ddd17c18f4 100644
(file)
--- a/
lib/CodeGen/SpillPlacement.cpp
+++ b/
lib/CodeGen/SpillPlacement.cpp
@@
-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-4
f
;
bool Before = preferReg();
if (Sum < -Thres)
Value = -1;