[GHC] #14790: eqTypeRep does not inline
GHC
ghc-devs at haskell.org
Mon Feb 12 23:27:55 UTC 2018
#14790: eqTypeRep does not inline
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: patch
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.1-alpha2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4405
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by dfeuer):
* status: new => patch
* differential: => Phab:D4405
Comment:
mpickering, it looks like writing the wrapper and marking it `INLINABLE`
does the trick. I wish I had a better sense of ''why'' `INLINABLE` does
that, but okay. I also don't really understand why this wrapper should be
`INLINABLE`, whereas the wrappers GHC manufactures are `INLINE`. What
difference merits that distinction? Nevertheless, I've updated the
differential to use `INLINABLE` instead, and added some comments.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14790#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list