aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-02-16 19:57:08 +0000
committerYann Herklotz <git@yannherklotz.com>2021-02-16 19:57:08 +0000
commit997b768ac8fa7f5f741671d9e4c00b9ea8f0680c (patch)
tree9c80e4d65d5719301a6f75c88c50fd555d8e8d6c /driver
parent9f9da6f7ccd2f6658c940b68b2cc3c25cd5e3c88 (diff)
downloadvericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.tar.gz
vericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.zip
Add option to turn off if-conversion
Diffstat (limited to 'driver')
-rw-r--r--driver/VericertDriver.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/VericertDriver.ml b/driver/VericertDriver.ml
index 6887b56..d2c301f 100644
--- a/driver/VericertDriver.ml
+++ b/driver/VericertDriver.ml
@@ -249,7 +249,8 @@ Code generation options: (use -fno-<opt> to turn off -f<opt>)
-fcommon Put uninitialized globals in the common section [on].
HLS Optimisations:
- -fschedule Schedule the resulting hardware [off].
+ -fschedule Schedule the resulting hardware [off].
+ -fif-conversion If-conversion optimisation [off].
|} ^
target_help ^
toolchain_help ^
@@ -434,6 +435,7 @@ let cmdline_actions =
@ f_opt "fpu" option_ffpu
@ f_opt "sse" option_ffpu (* backward compatibility *)
@ f_opt "schedule" option_hls_schedule
+ @ f_opt "if-conv" option_fif_conv
@ [
(* Catch options that are not handled *)
Prefix "-", Self (fun s ->