aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Driver.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-23 15:19:31 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-04-23 15:19:31 +0200
commit54b5f2c669c4c3153a0ea1a2112a2159cf04471c (patch)
treefd0d675db12adc9ead37ac028480f92bf8727589 /driver/Driver.ml
parentc991b6f67778634cf1c8df5fb429a74d068c8fb8 (diff)
parent7b0d7a74ccfaf5843c41e2844e02e94e9a76bfd8 (diff)
downloadcompcert-kvx-54b5f2c669c4c3153a0ea1a2112a2159cf04471c.tar.gz
compcert-kvx-54b5f2c669c4c3153a0ea1a2112a2159cf04471c.zip
Merge remote-tracking branch 'origin/mppa-licm' into mppa-features
Diffstat (limited to 'driver/Driver.ml')
-rw-r--r--driver/Driver.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index 20c10ace..b9060ca7 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -195,10 +195,11 @@ Processing options:
-fconst-prop Perform global constant propagation [on]
-ffloat-const-prop <n> Control constant propagation of floats
(<n>=0: none, <n>=1: limited, <n>=2: full; default is full)
- -fcse Perform common subexpression elimination [off]
+ -fcse Perform common subexpression elimination [on]
-fcse2 Perform inter-loop common subexpression elimination [off]
-fcse3 Perform inter-loop common subexpression elimination [on]
-fcse3-alias-analysis Perform inter-loop common subexpression elimination with alias analysis [on]
+ -fcse3-across-calls Propagate CSE3 information across function calls [off]
-fmove-loop-invariants Perform loop-invariant code motion [off]
-fredundancy Perform redundancy elimination [on]
-fpostpass Perform postpass scheduling (only for K1 architecture) [on]
@@ -339,6 +340,7 @@ let cmdline_actions =
Exact "-Obranchless", Set option_Obranchless;
Exact "-fprofile-use=", String (fun s -> Profilingaux.load_profiling_info s);
Exact "-finline-auto-threshold", Integer (fun n -> option_inline_auto_threshold := n);
+ Exact "-debug-compcert", Integer (fun n -> option_debug_compcert := n);
Exact "-fsmall-data", Integer(fun n -> option_small_data := n);
Exact "-fsmall-const", Integer(fun n -> option_small_const := n);
Exact "-ffloat-const-prop", Integer(fun n -> option_ffloatconstprop := n);
@@ -410,6 +412,7 @@ let cmdline_actions =
@ f_opt "cse2" option_fcse2
@ f_opt "cse3" option_fcse3
@ f_opt "cse3-alias-analysis" option_fcse3_alias_analysis
+ @ f_opt "cse3-across-calls" option_fcse3_across_calls
@ f_opt "move-loop-invariants" option_fmove_loop_invariants
@ f_opt "redundancy" option_fredundancy
@ f_opt "postpass" option_fpostpass