[GHC] #13535: vector test suite uses excessive memory on GHC 8.2
GHC
ghc-devs at haskell.org
Tue Apr 18 02:47:24 UTC 2017
#13535: vector test suite uses excessive memory on GHC 8.2
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.2.1
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: #10800 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
As I suspected, there appears to be a large number of duplicate top-level
bindings in the code that gets passed Core Tidy in 8.2. In particular, I
count at least 25 copies of the same binding,
{{{#!hs
$s$wfoldlM_loop :: State# RealWorld-> [] Bool-> Int#-> MutableArray#
RealWorld Bool-> Int#-> Int#-> (#,#) (TupleRep ([] RuntimeRep)) LiftedRep
(State# RealWorld) (Vector Bool)
{- Core Size{terms=209 types=244 cos=466 vbinds=7 jbinds=0} -}
$s$wfoldlM_loop = ...
}}}
I'll need to work out why tomorrow.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13535#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list