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 | 1a3b25343f41bbd64e8c61a13e06a7dd6c66d334 (patch) | |
tree | 9d05852bfc2be8eababf502160b468394da65fdd /lib | |
parent | 6d0903f4a09fcda8ebe3af29b44cb3df2a4663c2 (diff) | |
download | llvm-1a3b25343f41bbd64e8c61a13e06a7dd6c66d334.tar.gz llvm-1a3b25343f41bbd64e8c61a13e06a7dd6c66d334.tar.bz2 llvm-1a3b25343f41bbd64e8c61a13e06a7dd6c66d334.tar.xz |
RegAllocGreedy.cpp: Use more simple value as Hysteresis, to suppress -mfpmath-dependent behavior.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 50b7553ad1..ca4a941e24 100644 --- 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() { |