diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-16 15:28:26 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-16 16:08:38 +0100 |
commit | cd33eefd0467ae7ee4d22f16fcaaccfd33f18cb5 (patch) | |
tree | 30fb18578f1c5c81fef7ccc6ec5879a41fd4e5c0 /compiler/vectorise/Vectorise/Exp.hs | |
parent | 6759e5a482d927870c90efe97b820d492785a6fd (diff) | |
download | haskell-cd33eefd0467ae7ee4d22f16fcaaccfd33f18cb5.tar.gz |
Some alpha renaming
Mostly d -> g (matching DynFlag -> GeneralFlag).
Also renamed if* to when*, matching the Haskell if/when names
Diffstat (limited to 'compiler/vectorise/Vectorise/Exp.hs')
-rw-r--r-- | compiler/vectorise/Vectorise/Exp.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/vectorise/Vectorise/Exp.hs b/compiler/vectorise/Vectorise/Exp.hs index 527cbfcb4d..20fade521b 100644 --- a/compiler/vectorise/Vectorise/Exp.hs +++ b/compiler/vectorise/Vectorise/Exp.hs @@ -47,7 +47,7 @@ import Control.Monad import Control.Applicative import Data.Maybe import Data.List -import TcRnMonad (doptM) +import TcRnMonad (goptM) import DynFlags import Util @@ -65,7 +65,7 @@ vectPolyExpr :: Bool -> [Var] -> CoreExprWithFVs -> Maybe VITree -- precompute vectorisation avoidance information (and possibly encapsulated subexpressions) vectPolyExpr loop_breaker recFns expr Nothing = do - { vectAvoidance <- liftDs $ doptM Opt_AvoidVect + { vectAvoidance <- liftDs $ goptM Opt_AvoidVect ; vi <- vectAvoidInfo expr ; (expr', vi') <- if vectAvoidance |