When a value Id comes from hi-boot, insert noinline. Fixes #10083.
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 13 May 2016 03:33:43 +0000 (20:33 -0700)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Sun, 21 Aug 2016 07:53:21 +0000 (00:53 -0700)
commit5a8fa2e662fce9ef03f0ec7891d7f81740e630bc
tree648c41ab2a3741cc304ce401769cfd2224c9d365
parent1f1bd920047fa083de29eba7cedafbe37d350b73
When a value Id comes from hi-boot, insert noinline. Fixes #10083.

Summary:
This also drops the parked fix from
efa7b3a474bc373201ab145c129262a73c86f959
(though I didn't revert the refactoring).

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: simonpj, austin, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2211

GHC Trac Issues: #10083
compiler/coreSyn/CoreSyn.hs
compiler/iface/MkIface.hs
compiler/typecheck/TcBinds.hs
testsuite/tests/perf/compiler/all.T
testsuite/tests/simplCore/should_compile/all.T