Occurrrence analysis improvements for NOINLINE functions
[ghc.git] / hadrian / src / Settings / Flavours / Quickest.hs
1 module Settings.Flavours.Quickest (quickestFlavour) where
2
3 import Expression
4 import Flavour
5 import {-# SOURCE #-} Settings.Default
6
7 -- Please update doc/flavours.md when changing this file.
8 quickestFlavour :: Flavour
9 quickestFlavour = defaultFlavour
10 { name = "quickest"
11 , args = defaultBuilderArgs <> quickestArgs <> defaultPackageArgs
12 , libraryWays = pure [vanilla]
13 , rtsWays = quickestRtsWays }
14
15 quickestArgs :: Args
16 quickestArgs = sourceArgs SourceArgs
17 { hsDefault = pure ["-O0", "-H64m"]
18 , hsLibrary = mempty
19 , hsCompiler = stage0 ? arg "-O"
20 , hsGhc = stage0 ? arg "-O" }
21
22 quickestRtsWays :: Ways
23 quickestRtsWays = pure [vanilla, threaded]