
#14790: eqTypeRep does not inline
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: new
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):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by mpickering):
I looked at the interface file for `Data.Typeable.Internal` where
`eqTypeRep` is defined. Here is the unfolding for `eqTypeRep`.
{{{
855825a70951c01dfa45bc3067373660
eqTypeRep ::
forall k1 k2 (a :: k1) (b :: k2).
TypeRep a -> TypeRep b -> Maybe (a :~~: b)
{- Arity: 2, Strictness: ,
Unfolding: (\ @ k1
@ k2
@ a :: k1
@ b :: k2
(a1 :: TypeRep a)
(b1 :: TypeRep b) ->
let {
$j :: Word# -> Word# -> Maybe (a :~~: b)