diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-04 06:29:38 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-04 06:29:38 +0000 |
| commit | a71003ae106d777ebc0c57223d593dfc6b78c0e0 (patch) | |
| tree | 77b2a5c4c6a0267d76a8bd5bbde7ed8ad8d445f6 /llvm/lib/CodeGen/RegAllocGreedy.cpp | |
| parent | ab7ee461c2a1b356ba5d67a41159ac73d87366c8 (diff) | |
| download | bcm5719-llvm-a71003ae106d777ebc0c57223d593dfc6b78c0e0.tar.gz bcm5719-llvm-a71003ae106d777ebc0c57223d593dfc6b78c0e0.zip | |
RegAllocGreedy.cpp: Use more simple value as Hysteresis, to suppress -mfpmath-dependent behavior.
llvm-svn: 200738
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocGreedy.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocGreedy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocGreedy.cpp b/llvm/lib/CodeGen/RegAllocGreedy.cpp index 50b7553ad16..ca4a941e245 100644 --- a/llvm/lib/CodeGen/RegAllocGreedy.cpp +++ b/llvm/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() { |

