mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
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
This commit is contained in:
parent
6d0903f4a0
commit
1a3b25343f
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user