#5928: INLINABLE fails to specialize in presence of simple wrapper
---------------------------------+------------------------------------------
Reporter: tibbe | Owner:
Type: bug | Status: patch
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: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by tibbe):
After discussing with simonpj, I tried to instead move the existing
specialise pass to after the simplifier pass. This hurt performance a bit
(runtime +2.6%) and resulted in way fewer specialisations (down to 136
from 230 for the whole nofib suite). Adding a second specialise pass (for
a total of two) just after the main simplifier core pass increased the
number of specialisations to 242, but showed no improvement in performance
on nofib.
The next step is probably to check why so many fewer specialisations were
created when when the single passed was moved later in the pipeline.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5928#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs