[GHC] #8275: Loopification breaks profiling

GHC ghc-devs at haskell.org
Sun Dec 1 10:08:21 UTC 2013


#8275: Loopification breaks profiling
----------------------------------------+----------------------------------
        Reporter:  jstolarek            |            Owner:  jstolarek
            Type:  bug                  |           Status:  closed
        Priority:  high                 |        Milestone:  7.8.1
       Component:  Profiling            |          Version:  7.7
      Resolution:  fixed                |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:
 Type of failure:  Building GHC failed  |  Unknown/Multiple
       Test Case:                       |       Difficulty:  Unknown
        Blocking:                       |       Blocked By:  8456
                                        |  Related Tickets:
----------------------------------------+----------------------------------
Changes (by jstolarek):

 * status:  patch => closed
 * resolution:   => fixed


Comment:

 OK, I see how the loopification patch works. Previously we had:

 {{{
 c4AC:
     call "ccall" arg hints:  [PtrHint,
                               PtrHint]  result hints:  []
 enterFunCCS(BaseReg, I64[R1 - 1 + 8]);
 }}}

 Now we have:

 {{{
 c4AC:
     call "ccall" arg hints:  [PtrHint,
                               PtrHint]  result hints:  []
 enterFunCCS(BaseReg, I64[_s2UW::P64 - 1 + 8]);
 }}}

 The `_s2UW::P64` is declared anyway so no extra work required :-)

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


More information about the ghc-tickets mailing list