diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2020-03-09 15:16:08 +0100 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2020-03-09 15:16:08 +0100 |
commit | b016de5a1a8230b5a6c51d8e7cd8829d39a4c781 (patch) | |
tree | da167bb86a5eba736db551df7df613eb5201a30c /driver/Driver.ml | |
parent | ec0d767ba602c35e320ee77f2ccd6f513adeb7b6 (diff) | |
download | compcert-kvx-b016de5a1a8230b5a6c51d8e7cd8829d39a4c781.tar.gz compcert-kvx-b016de5a1a8230b5a6c51d8e7cd8829d39a4c781.zip |
[BROKEN] Replacing the boolean -fduplicate option by an integer
To control the threshold for duplication
Diffstat (limited to 'driver/Driver.ml')
-rw-r--r-- | driver/Driver.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml index db71aef9..dd357423 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -204,7 +204,7 @@ Processing options: -finvertcond Invert conditions based on predicted paths (to prefer fallthrough). Requires -fduplicate to be also activated [on] -ftracelinearize Linearizes based on the traces identified by duplicate phase - It is recommended to also activate -fduplicate with this pass [off] + It is heavily recommended to activate -finvertcond with this pass [off] -fforward-moves Forward moves after CSE -finline Perform inlining of functions [on] -finline-functions-called-once Integrate functions only required by their @@ -393,7 +393,7 @@ let cmdline_actions = @ f_opt "cse2" option_fcse2 @ f_opt "redundancy" option_fredundancy @ f_opt "postpass" option_fpostpass - @ f_opt "duplicate" option_fduplicate + @ [ Exact "-fduplicate", Integer (fun n -> option_fduplicate := n) ] @ f_opt "invertcond" option_finvertcond @ f_opt "tracelinearize" option_ftracelinearize @ f_opt_str "postpass" option_fpostpass option_fpostpass_sched |