Allow resizing the stack for the graph allocator.
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>
Fri, 25 Jan 2019 23:26:02 +0000 (00:26 +0100)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 8 Feb 2019 16:00:15 +0000 (11:00 -0500)
commit03b7abc19c8b0ec5c606cc2da208d2d004807fe9
treee1d779fee191e71aafba557e6e4680d4d6aab60f
parent2b90356d26b4699227816ad9424e766eccdb6c36
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.
compiler/nativeGen/AsmCodeGen.hs
compiler/nativeGen/CFG.hs
compiler/nativeGen/RegAlloc/Graph/Main.hs
compiler/nativeGen/RegAlloc/Graph/Spill.hs
compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
compiler/nativeGen/X86/Instr.hs