diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-05-09 22:41:48 +0200 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-05-09 22:41:48 +0200 |
commit | 3043510dc2bdaa5d151656a667f1f7988689a75a (patch) | |
tree | dc7bf030c9811bccbf9d7dc142b34bfe7ff00161 /scheduling/RTLtoBTL.v | |
parent | c78393a5d4d13d0f2cd7f0a73756d6bb598b5ae4 (diff) | |
parent | d422c63cbcad7ba156d5d324e0221db9d13f9559 (diff) | |
download | compcert-kvx-3043510dc2bdaa5d151656a667f1f7988689a75a.tar.gz compcert-kvx-3043510dc2bdaa5d151656a667f1f7988689a75a.zip |
Merge branch 'BTL' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into BTL
Diffstat (limited to 'scheduling/RTLtoBTL.v')
-rw-r--r-- | scheduling/RTLtoBTL.v | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scheduling/RTLtoBTL.v b/scheduling/RTLtoBTL.v index 14aecb21..2b2bd15c 100644 --- a/scheduling/RTLtoBTL.v +++ b/scheduling/RTLtoBTL.v @@ -12,6 +12,9 @@ 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 do u <- verify_function dupmap f' f; OK f'. |