diff options
author | Sylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr> | 2021-05-08 07:31:05 +0200 |
---|---|---|
committer | Sylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr> | 2021-05-08 07:31:05 +0200 |
commit | a1cde0686dfb40595423f40ccc40e18de3539e52 (patch) | |
tree | 999f44305e17ff594d9896f81a98926a423ee747 /scheduling/RTLtoBTL.v | |
parent | 1d32156c5bc43f966abe2c12c317a27e092355c4 (diff) | |
download | compcert-kvx-a1cde0686dfb40595423f40ccc40e18de3539e52.tar.gz compcert-kvx-a1cde0686dfb40595423f40ccc40e18de3539e52.zip |
idee pour simplifier la preuve: restreindre le "right_assoc" en "expand" !
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'. |