diff options
author | Douglas Wilson <douglas.wilson@gmail.com> | 2017-11-06 16:50:39 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-11-06 16:50:40 -0500 |
commit | fc6f58477fe0ecdc5ede3d6b7e6590caacb926ef (patch) | |
tree | 6a690c4a7cb791137698b4f1064cf3fb1c1ae10f /compiler/utils/FastMutInt.hs | |
parent | 275ac8ef0a0081f16abbfb8934e10cf271573768 (diff) | |
download | haskell-wip/use-O2.tar.gz |
Change `OPTIONS_GHC -O` to `OPTIONS_GHC -O2`wip/use-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
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D4156
Diffstat (limited to 'compiler/utils/FastMutInt.hs')
-rw-r--r-- | compiler/utils/FastMutInt.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/FastMutInt.hs b/compiler/utils/FastMutInt.hs index 6ba139a486..20206f8b1e 100644 --- a/compiler/utils/FastMutInt.hs +++ b/compiler/utils/FastMutInt.hs @@ -1,5 +1,5 @@ {-# LANGUAGE BangPatterns, MagicHash, UnboxedTuples #-} -{-# OPTIONS_GHC -O #-} +{-# OPTIONS_GHC -O2 #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected -- |