Change `OPTIONS_GHC -O` to `OPTIONS_GHC -O2`
authorDouglas Wilson <douglas.wilson@gmail.com>
Thu, 9 Nov 2017 22:54:45 +0000 (17:54 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 9 Nov 2017 23:31:22 +0000 (18:31 -0500)
commit75291abaf6db7befbde5b4dadaea0b8047a75e06
tree30097dc06477b45973abbaf7c11af16b983cddb6
parente6b13c963d0b54099a41bb1b51fe680644582051
Change `OPTIONS_GHC -O` to `OPTIONS_GHC -O2`

These pragmas were having the perverse effect of having these
performance critical modules be LESS optimized in builds with -O2.

Test Plan: Check on gipedia whether this is worthwhile.

Reviewers: austin, bgamari

Reviewed By: bgamari

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D4156
compiler/iface/BinIface.hs
compiler/utils/Binary.hs
compiler/utils/Encoding.hs
compiler/utils/FastMutInt.hs
compiler/utils/FastString.hs
compiler/utils/StringBuffer.hs