[GHC] #8662: GHC does not inline cheap inner loop when used in two places
GHC
ghc-devs at haskell.org
Sun Jan 12 15:04:51 UTC 2014
#8662: GHC does not inline cheap inner loop when used in two places
--------------------------------------------+------------------------------
Reporter: nh2 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Runtime performance bug | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
--------------------------------------------+------------------------------
Comment (by nh2):
Why should it not do this automatically?
It is a pretty cheap function (from my human-not-compiler perspective).
Why do you need to set such a big threshold to get it inlined? Is there a
page that describes how these thresholds work?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8662#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list