aboutsummaryrefslogtreecommitdiffstats
path: root/src/extraction
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 /src/extraction
parent9f9da6f7ccd2f6658c940b68b2cc3c25cd5e3c88 (diff)
downloadvericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.tar.gz
vericert-997b768ac8fa7f5f741671d9e4c00b9ea8f0680c.zip
Add option to turn off if-conversion
Diffstat (limited to 'src/extraction')
-rw-r--r--src/extraction/Extraction.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/extraction/Extraction.v b/src/extraction/Extraction.v
index a4d0bde..8aec96e 100644
--- a/src/extraction/Extraction.v
+++ b/src/extraction/Extraction.v
@@ -24,7 +24,8 @@ From vericert Require
RTLPar
RTLBlockInstr
HTLgen
- Pipeline.
+ Pipeline
+ HLSOpts.
From Coq Require DecidableClass.
@@ -131,6 +132,9 @@ Extract Constant Compopts.thumb =>
Extract Constant Compopts.debug =>
"fun _ -> !Clflags.option_g".
+Extract Constant HLSOpts.optim_if_conversion =>
+ "fun _ -> !VericertClflags.option_fif_conv".
+
(* Compiler *)
Extract Constant Compiler.print_Clight => "PrintClight.print_if".
Extract Constant Compiler.print_Cminor => "PrintCminor.print_if".