[GHC] #8321: improve basic block layout on LLVM backend by predicting stack/heap checks

GHC ghc-devs at haskell.org
Tue Sep 17 20:56:11 CEST 2013


#8321: improve basic block layout on LLVM backend by predicting stack/heap checks
-------------------------------------+------------------------------------
        Reporter:  rwbarton          |            Owner:  rwbarton
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:  7.10.1
       Component:  Compiler (LLVM)   |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------
Changes (by rwbarton):

 * owner:   => rwbarton


Comment:

 I have a proof-of-concept patch that implements this. It gave about a 1.5%
 speedup overall on nofib, with around 10% speedup on a couple simple
 stack-heavy benchmarks and a worst-case slowdown of -1.5%.

 I plan to revisit it after the 7.8 release.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8321#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list