diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-09-20 21:36:52 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-09-20 21:36:52 +0200 |
commit | 5d455f088929be06ce1c61d02e541d44dfefc42f (patch) | |
tree | 2585a3ebbe24bf5a323907ae521c5d3b8c6c7b91 /backend/Lineartyping.v | |
parent | 4e0258fcb21aa0d23c04d4b58dbd4d34672234c1 (diff) | |
parent | aa5b5a4e618b6a0aecc227021080aa4b901d806f (diff) | |
download | compcert-kvx-5d455f088929be06ce1c61d02e541d44dfefc42f.tar.gz compcert-kvx-5d455f088929be06ce1c61d02e541d44dfefc42f.zip |
Merge tag 'v3.6_mppa_2019-09-20' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into mppa-non-trapping-load
Diffstat (limited to 'backend/Lineartyping.v')
-rw-r--r-- | backend/Lineartyping.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/Lineartyping.v b/backend/Lineartyping.v index da66b6ff..92c18415 100644 --- a/backend/Lineartyping.v +++ b/backend/Lineartyping.v @@ -321,11 +321,11 @@ Local Opaque mreg_type. + (* other ops *) destruct (type_of_operation op) as [ty_args ty_res] eqn:TYOP. InvBooleans. econstructor; eauto. - apply wt_setreg; auto; try (apply wt_undef_regs; auto). - eapply Val.has_subtype; eauto. + apply wt_setreg. eapply Val.has_subtype; eauto. change ty_res with (snd (ty_args, ty_res)). rewrite <- TYOP. eapply type_of_operation_sound; eauto. red; intros; subst op. simpl in ISMOVE. - destruct args; try discriminate. destruct args; discriminate. + destruct args; try discriminate. destruct args; discriminate. + apply wt_undef_regs; auto. - (* load *) simpl in *; InvBooleans. econstructor; eauto. |