diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2014-11-16 18:39:43 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2014-11-16 18:39:43 +0100 |
commit | bda5ee25ac991c38f5541a234936f1f6e2226072 (patch) | |
tree | c26b8de4fac8a9e747f73a08adf25707786619fd /driver/Clflags.ml | |
parent | ef4334c5b3984277a0844ba94f6b3945152e3637 (diff) | |
download | compcert-bda5ee25ac991c38f5541a234936f1f6e2226072.tar.gz compcert-bda5ee25ac991c38f5541a234936f1f6e2226072.zip |
Add flags to control individual optimization passes + flag -O0 for turning them off.
Diffstat (limited to 'driver/Clflags.ml')
-rw-r--r-- | driver/Clflags.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml index c6217ba1..ead27b36 100644 --- a/driver/Clflags.ml +++ b/driver/Clflags.ml @@ -24,6 +24,9 @@ let option_fpacked_structs = ref false let option_ffpu = ref true let option_ffloatconstprop = ref 2 let option_ftailcalls = ref true +let option_fconstprop = ref true +let option_fcse = ref true +let option_fredundancy = ref true let option_falignfunctions = ref (None: int option) let option_falignbranchtargets = ref 0 let option_faligncondbranchs = ref 0 |