• David Feuer's avatar
    Automatically add SCCs to INLINABLE bindings · ab91daf2
    David Feuer authored
    Instead of excluding `isAnyInlinePragma`, just exclude
    `isInlinePragma`. This makes GHC behave as documented;
    the user's guide only indicates that GHC does not automatically
    add SCCs to `INLINE` bindings.
    Fixes #12962.
    Reviewers: austin, bgamari
    Reviewed By: bgamari
    Subscribers: DemiMarie, osa1, Mikolaj, simonpj, rwbarton, thomie
    GHC Trac Issues: #12962
    Differential Revision: https://phabricator.haskell.org/D3550
profinline001.prof.sample 2.05 KB