Add -fsimplifier-phases option
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 9 Jan 2008 02:24:49 +0000 (02:24 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 9 Jan 2008 02:24:49 +0000 (02:24 +0000)
commit97c186be0bd51ebe0fb4c28df8836f03e3dbd06d
tree8348f41a67b6799b2893ddcc17a35f8a4d42c87e
parent356ca3e99e13450f9c2d9c8cdf5e4177c2321bb0
Add -fsimplifier-phases option

It controls the number of simplifier phases run during optimisation. These are
numbered from n to 1 (by default, n=2). Phase 0 is always run regardless of
this flag. The flag is ignored with -O0 since (practically) no optimisation is
performed in that case.
compiler/main/DynFlags.hs