[GHC] #11295: Figure out what LLVM passes are fruitful

GHC ghc-devs at haskell.org
Sat Dec 26 21:01:58 UTC 2015


#11295: Figure out what LLVM passes are fruitful
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.3
  (LLVM)                             |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Builds using GHC's LLVM backend are currently substantially slower than
 GHC's own native code generator. There are a few possible reasons for
 this,

 1. the cost of forking processes and serializing/parsing LLVM's
 intermediate representation
 2. the cost of the more powerful optimizations responsible for LLVM's
 (hopefully) better code generation
 3. the cost of redundant optimizations overlapping effort already expended
 by GHC

 Given that some architecture (e.g. ARM) are only supported by LLVM and
 therefore suffer considerably at the hand of our slow builds, we should
 try to reduce #

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


More information about the ghc-tickets mailing list