aboutsummaryrefslogtreecommitdiffstats
path: root/extraction
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2020-04-01 10:35:42 +0200
committerCyril SIX <cyril.six@kalray.eu>2020-04-01 10:35:42 +0200
commit7ad6991534ba4ab10fe29d5456393f45cb4e5605 (patch)
tree0a40f7ef484420a06b62913bcf3444b40bddd2a6 /extraction
parent027c5f9b643c554bef742bf907e725f8ad949429 (diff)
downloadcompcert-kvx-7ad6991534ba4ab10fe29d5456393f45cb4e5605.tar.gz
compcert-kvx-7ad6991534ba4ab10fe29d5456393f45cb4e5605.zip
-fduplicate -1 really desactivates the pass in Coq now
Diffstat (limited to 'extraction')
-rw-r--r--extraction/extraction.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/extraction/extraction.v b/extraction/extraction.v
index ba6b080b..9b568951 100644
--- a/extraction/extraction.v
+++ b/extraction/extraction.v
@@ -105,6 +105,8 @@ Extract Constant Compopts.generate_float_constants =>
"fun _ -> !Clflags.option_ffloatconstprop >= 2".
Extract Constant Compopts.optim_tailcalls =>
"fun _ -> !Clflags.option_ftailcalls".
+Extract Constant Compopts.optim_duplicate =>
+ "fun _ -> (if !Clflags.option_fduplicate = -1 then false else true)".
Extract Constant Compopts.optim_constprop =>
"fun _ -> !Clflags.option_fconstprop".
Extract Constant Compopts.optim_CSE =>