Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ed8c9b25
Commit
ed8c9b25
authored
May 19, 2009
by
rl@cse.unsw.edu.au
Browse files
Make -Odph imply -fsimplifier-phases=3
parent
523101db
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/main/DynFlags.hs
View file @
ed8c9b25
...
...
@@ -2041,12 +2041,15 @@ setOptLevel n dflags
-- sometimes
-- -fdicts-cheap always inline dictionaries
-- -fmax-simplifier-iterations20 this is necessary sometimes
-- -fsimplifier-phases=3 we use an additional simplifier phase
-- for fusion
-- -fno-spec-constr-threshold run SpecConstr even for big loops
-- -fno-spec-constr-count SpecConstr as much as possible
-- -finline-enough-args hack to prevent excessive inlining
--
setDPHOpt
::
DynFlags
->
DynFlags
setDPHOpt
dflags
=
setOptLevel
2
(
dflags
{
maxSimplIterations
=
20
,
simplPhases
=
3
,
specConstrThreshold
=
Nothing
,
specConstrCount
=
Nothing
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment