aboutsummaryrefslogtreecommitdiffstats
path: root/scheduling/RTLtoBTL.v
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-10 10:28:55 +0200
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-10 10:28:55 +0200
commit54d0ce9246ed1be12f150eb3745626a7576bf20b (patch)
tree5c0c243c2bd20c2b75cad999493036c84434cc0c /scheduling/RTLtoBTL.v
parent3043510dc2bdaa5d151656a667f1f7988689a75a (diff)
downloadcompcert-kvx-54d0ce9246ed1be12f150eb3745626a7576bf20b.tar.gz
compcert-kvx-54d0ce9246ed1be12f150eb3745626a7576bf20b.zip
is_exp and bcond proof
Diffstat (limited to 'scheduling/RTLtoBTL.v')
-rw-r--r--scheduling/RTLtoBTL.v5
1 files changed, 1 insertions, 4 deletions
diff --git a/scheduling/RTLtoBTL.v b/scheduling/RTLtoBTL.v
index 2b2bd15c..3617e691 100644
--- a/scheduling/RTLtoBTL.v
+++ b/scheduling/RTLtoBTL.v
@@ -12,10 +12,7 @@ Local Open Scope error_monad_scope.
Definition transf_function (f: RTL.function) : res BTL.function :=
let (tcte, dupmap) := rtl2btl f in
let (tc, te) := tcte in
- (* TODO, pour finir la preuve: remplacer ci-dessous "right_assoc_code" par "expand_code"
- on s'arrangera pour éliminer cette transformation "coûteuse" à la fin !
- *)
- let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) (right_assoc_code tc) te in
+ let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) (expand_code tc) te in
do u <- verify_function dupmap f' f;
OK f'.