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:
6d0903f
)
RegAllocGreedy.cpp: Use more simple value as Hysteresis, to suppress -mfpmath-depende...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 4 Feb 2014 06:29:38 +0000
(06:29 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 4 Feb 2014 06:29:38 +0000
(06:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200738
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/RegAllocGreedy.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/RegAllocGreedy.cpp
b/lib/CodeGen/RegAllocGreedy.cpp
index 50b7553ad16d3b51dd9857de7bb4e517fcdd077e..ca4a941e2457ff91cb0e87b6974c3b2b096e727b 100644
(file)
--- a/
lib/CodeGen/RegAllocGreedy.cpp
+++ b/
lib/CodeGen/RegAllocGreedy.cpp
@@
-311,7
+311,7
@@
const char *const RAGreedy::StageName[] = {
// Hysteresis to use when comparing floats.
// This helps stabilize decisions based on float comparisons.
-const float Hysteresis =
0.98f;
+const float Hysteresis =
(2007 / 2048.0f); // 0.97998046875
FunctionPass* llvm::createGreedyRegisterAllocator() {