[GHC] #14737: Improve performance of Simplify.simplCast

GHC ghc-devs at haskell.org
Fri Mar 30 22:16:50 UTC 2018


#14737: Improve performance of Simplify.simplCast
-------------------------------------+-------------------------------------
        Reporter:  tdammers          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11735 #14683     |  Differential Rev(s):  Phab:D4385
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 Yes, I think Simon's comment:10 is correct. Try removing that.

 Note that Phab:D4395 currently removes the `piResultTy` from that case,
 but it's quite possible that the `eqType` call is what's taking up the
 time.

 You might also try removing the similar clause from `pushCoValArg`.

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


More information about the ghc-tickets mailing list