Mark GHC.Real.even and odd as INLINEABLE
authorBen Gamari <bgamari.foss@gmail.com>
Mon, 14 Mar 2016 12:27:23 +0000 (13:27 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sun, 20 Mar 2016 15:05:43 +0000 (16:05 +0100)
commit2841ccab595ce38fb86b789574f057c3abe3d630
tree3f91a8d611de9cafc6db6eb86af991d1c1806063
parent3ddfcc95cd41dac19c8f4d55e8fc03128b77b738
Mark GHC.Real.even and odd as INLINEABLE

Previously they were merely specialised at Int and Integer. It seems to
me that these are cheap enough to be worth inlining. See #11701 for
motivation.

Test Plan: Validate

Reviewers: austin, hvr, simonpj

Reviewed By: simonpj

Subscribers: thomie

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

GHC Trac Issues: #11701
libraries/base/GHC/Real.hs