From 997b768ac8fa7f5f741671d9e4c00b9ea8f0680c Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 16 Feb 2021 19:57:08 +0000 Subject: Add option to turn off if-conversion --- src/extraction/Extraction.v | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/extraction') 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". -- cgit