[commit: ghc] wip/ghc-8.8-merges: Allow resizing the stack for the graph allocator. (2eeabfd)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:11:06 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ghc-8.8-merges
Link       : http://ghc.haskell.org/trac/ghc/changeset/2eeabfdb48228e4f17a54cdf74a497c6259cc982/ghc

>---------------------------------------------------------------

commit 2eeabfdb48228e4f17a54cdf74a497c6259cc982
Author: klebinger.andreas at gmx.at <klebinger.andreas at gmx.at>
Date:   Sat Jan 26 00:26:02 2019 +0100

    Allow resizing the stack for the graph allocator.
    
    The graph allocator now dynamically resizes the number of stack
    slots when running into the limit.
    
    This fixes #8657.
    
    Also loop membership of basic blocks is now available
    in the register allocator for cost heuristics.
    
    (cherry picked from commit 03b7abc19c8b0ec5c606cc2da208d2d004807fe9)


>---------------------------------------------------------------

2eeabfdb48228e4f17a54cdf74a497c6259cc982
 compiler/nativeGen/AsmCodeGen.hs               | 18 +++++++--
 compiler/nativeGen/CFG.hs                      | 18 +++++++++
 compiler/nativeGen/RegAlloc/Graph/Main.hs      | 38 +++++++++++++------
 compiler/nativeGen/RegAlloc/Graph/Spill.hs     | 14 +++++--
 compiler/nativeGen/RegAlloc/Graph/SpillCost.hs | 51 +++++++++++++++++---------
 compiler/nativeGen/X86/Instr.hs                |  2 +
 6 files changed, 105 insertions(+), 36 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 2eeabfdb48228e4f17a54cdf74a497c6259cc982


More information about the ghc-commits mailing list