[GHC] #14211: Compiler is unable to INLINE as well as the programmer can manually

GHC ghc-devs at haskell.org
Fri Sep 15 06:34:51 UTC 2017


#14211: Compiler is unable to INLINE as well as the programmer can manually
-------------------------------------+-------------------------------------
        Reporter:  harendra          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
                                     |  StaticArgumentTransformation,
                                     |  Inlining
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 harendra):

 Thanks Matthew for looking into this. It looks like as of now inline and
 SAT are exclusive to each other. What's the solution to this - we either
 need to inline the SATed definition or can we do SAT again after inlining?

 I observed that my package had several SAT opportunities that I fixed
 manually but `-fstatic-argument-transformation` did not make any
 difference, it could be because of this same reason perhaps.

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


More information about the ghc-tickets mailing list