Honor INLINE on 0-arity bindings (#15578)
authorTobias Dammers <tdammers@gmail.com>
Thu, 13 Sep 2018 08:21:49 +0000 (10:21 +0200)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Thu, 13 Sep 2018 08:21:49 +0000 (10:21 +0200)
commitb9b1f99954e69f23e9647d00e048938d5509ec14
treeb3a4430275c4a45ddc49aa8c48a370dc7ac0126d
parent900c47f88784b91517c00be3e1087322e62f698e
Honor INLINE on 0-arity bindings (#15578)

Summary:
Fix test for #15578

By allowing 0-arity values to be inlined, we end up changing boringness
annotations, and this gets reflected in the Core output for this
particular test.

Add Notes for #15578

Test Plan: ./validate

Reviewers: simonpj, bgamari

Reviewed By: simonpj

Subscribers: rwbarton, carter

GHC Trac Issues: #15578

Differential Revision: https://phabricator.haskell.org/D5137
compiler/coreSyn/CoreUnfold.hs
compiler/simplCore/Simplify.hs
testsuite/tests/perf/should_run/T15578.hs [new file with mode: 0644]
testsuite/tests/perf/should_run/all.T
testsuite/tests/simplCore/should_compile/T7360.stderr