Re: [GHC] #5928: INLINABLE fails to specialize in presence of simple wrapper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #5928: INLINABLE fails to specialize in presence of simple wrapper

GHC - devs mailing list
#5928: INLINABLE fails to specialize in presence of simple wrapper
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.4.1
      Resolution:                    |             Keywords:  Inlining,
                                     |  Specialise
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 andrewthad):

 I don't know when this was fixed, but I just tried the attached
 reproducible case with GHC 8.2.2, and specialization occurs as expected.
 This came up because I was working on another project and realized that
 inlining did not block specialization like this comment:19 suggested it
 would. I think this ticket should be marked as resolved.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #5928: INLINABLE fails to specialize in presence of simple wrapper

GHC - devs mailing list
#5928: INLINABLE fails to specialize in presence of simple wrapper
-------------------------------------+-------------------------------------
        Reporter:  tibbe             |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.4.1
      Resolution:                    |             Keywords:  Inlining,
                                     |  Specialise
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 simonpj):

 Great!

 By "the attached reproducible case" do you mean the one right at the top
 (from tibbe)?

 I'd like to add something as a regression test before closing, to make
 sure it stays fixed.  Omer/Tobias, might you do that?

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets