[GHC] #5925: Add inline version of newArray#

GHC cvs-ghc at haskell.org
Wed May 8 19:31:27 CEST 2013


#5925: Add inline version of newArray#
---------------------------------+------------------------------------------
    Reporter:  tibbe             |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  7.4.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:  4258              |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by tibbe):

 I'm interested in getting something working first (i.e. a version of
 `newArray#` that allocates inline). We can then see what we can do about
 merging heap checks. Which code tackles merging these checks? The
 optimization seems similar to floating plus constant folding/conditional
 merging to me.

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



More information about the ghc-tickets mailing list