aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Selectionproof.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-26 07:32:01 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-26 07:32:01 +0000
commit132e36fa0be63eb5672eda9168403d3fb74af2fa (patch)
tree33955e0ccb4210271c82326b941523e6e4b2c289 /backend/Selectionproof.v
parent9ea00d39bb32c1f188f1af2745c3368da6a349c1 (diff)
downloadcompcert-kvx-132e36fa0be63eb5672eda9168403d3fb74af2fa.tar.gz
compcert-kvx-132e36fa0be63eb5672eda9168403d3fb74af2fa.zip
CSE: add recognition of some combined operators, conditions, and addressing modes (cf. CombineOp.v)
Memory model: cleaning up Memdata Inlining and new Constprop: updated for ARM. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1902 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Selectionproof.v')
-rw-r--r--backend/Selectionproof.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Selectionproof.v b/backend/Selectionproof.v
index 4e67181a..0aa2b6bf 100644
--- a/backend/Selectionproof.v
+++ b/backend/Selectionproof.v
@@ -50,7 +50,7 @@ Proof.
induction 1; simpl.
constructor.
constructor.
- econstructor. eauto. apply eval_negate_condition. auto.
+ econstructor. eauto. rewrite eval_negate_condition. rewrite H0. auto.
econstructor. eauto. destruct vb1; auto.
Qed.
@@ -124,7 +124,7 @@ Proof.
intros. apply is_compare_neq_zero_correct with (negate_condition c).
destruct c; simpl in H; simpl; try discriminate;
destruct c; simpl; try discriminate; auto.
- apply eval_negate_condition; auto.
+ rewrite eval_negate_condition. rewrite H0. auto.
Qed.
Lemma eval_condition_of_expr: