aboutsummaryrefslogtreecommitdiffstats
path: root/backend/CSE3proof.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-12-09 16:25:46 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-12-09 16:25:46 +0100
commiteb1121d703835e76babc15b057276d2852ade4ab (patch)
tree2bdbf20e3c842ea00818f1d295829aafc2e6966f /backend/CSE3proof.v
parent0a13bf127bb385df424bd9e392742d4fc5bef86a (diff)
downloadcompcert-kvx-eb1121d703835e76babc15b057276d2852ade4ab.tar.gz
compcert-kvx-eb1121d703835e76babc15b057276d2852ade4ab.zip
totally switch off conditions in cse3
Diffstat (limited to 'backend/CSE3proof.v')
-rw-r--r--backend/CSE3proof.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/CSE3proof.v b/backend/CSE3proof.v
index 50a32d56..ca43d0bd 100644
--- a/backend/CSE3proof.v
+++ b/backend/CSE3proof.v
@@ -983,6 +983,8 @@ Proof.
unfold find_cond_in_fmap in FIND_COND.
change (@PMap.get (option RELATION.t)) with (@Regmap.get RB.t) in FIND_COND.
rewrite FIND_REL in FIND_COND.
+ destruct (Compopts.optim_CSE3_conditions tt).
+ 2: discriminate.
destruct (is_condition_present pc rel cond args).
{ rewrite COND_PRESENT_TRUE in H0 by trivial.
congruence.