aboutsummaryrefslogtreecommitdiffstats
path: root/backend/CSE3analysisproof.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-15 11:50:56 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-15 11:50:56 +0200
commit3ceff391e0be39cd7a3d5d861fb1f32653579bab (patch)
tree07e6a693bac4bd8cc14723c658edd562f899789d /backend/CSE3analysisproof.v
parent7c6ce18466ed1de58a0f99c785c777d63a9a6149 (diff)
downloadcompcert-kvx-3ceff391e0be39cd7a3d5d861fb1f32653579bab.tar.gz
compcert-kvx-3ceff391e0be39cd7a3d5d861fb1f32653579bab.zip
some more tuning of CSE3
Diffstat (limited to 'backend/CSE3analysisproof.v')
-rw-r--r--backend/CSE3analysisproof.v6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/CSE3analysisproof.v b/backend/CSE3analysisproof.v
index 0ddaa527..66b199cc 100644
--- a/backend/CSE3analysisproof.v
+++ b/backend/CSE3analysisproof.v
@@ -821,7 +821,11 @@ Section SOUNDNESS.
subst.
rewrite <- (forward_move_sound rel rs m r) by auto.
apply move_sound; auto.
- - destruct rhs_find as [src |] eqn:RHS_FIND.
+ - destruct (is_trivial_sym_op sop).
+ {
+ apply kill_reg_sound; auto.
+ }
+ destruct rhs_find as [src |] eqn:RHS_FIND.
+ destruct (Compopts.optim_CSE3_glb tt).
* apply sem_rel_glb; split.
** pose proof (rhs_find_sound no sop (forward_move_l (ctx:=ctx) rel args) rel src rs m REL RHS_FIND) as SOUND.