[GHC] #14239: Let -fspecialise-aggressively respect NOINLINE (or NOSPECIALISABLE?)
GHC
ghc-devs at haskell.org
Fri Sep 15 18:16:48 UTC 2017
#14239: Let -fspecialise-aggressively respect NOINLINE (or NOSPECIALISABLE?)
-------------------------------------+-------------------------------------
Reporter: MikolajKonarski | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
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 MikolajKonarski):
Yes, I would be completely satisfied by that and a convention that all GHC
options without `-fforce-` respect that (currently only `-fspecialise-
aggressively` doesn't, I think).
In particular I'd leave untouched `-fexpose-all-unfoldings`, because it's
not about inlining nor specialisation, so it doesn't need to respect the
pragmas. It's about unfoldings, or rather it's close to a `-fignore-the-
split-into-modules-from-affecting-performance-which-puzzles-users` option
(and it's cheap and also useful for experimenting).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14239#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list