diff options
author | Sylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr> | 2021-05-28 15:24:16 +0200 |
---|---|---|
committer | Sylvain Boulmé <sylvain.boulme@univ-grenoble-alpes.fr> | 2021-05-28 15:24:16 +0200 |
commit | b79d0a04787d9234cf580841bf58e592fe4ab3ee (patch) | |
tree | d1bef8184071e30612178cfc53c820e59b1e0675 /scheduling/RTLtoBTL.v | |
parent | 25595a7b34b70011dcb77aae277ee1cdb8920c60 (diff) | |
download | compcert-kvx-b79d0a04787d9234cf580841bf58e592fe4ab3ee.tar.gz compcert-kvx-b79d0a04787d9234cf580841bf58e592fe4ab3ee.zip |
starting to extend RTLtoBTL with Liveness checking (on BTL side)
Diffstat (limited to 'scheduling/RTLtoBTL.v')
-rw-r--r-- | scheduling/RTLtoBTL.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scheduling/RTLtoBTL.v b/scheduling/RTLtoBTL.v index 507fc9d9..309c616e 100644 --- a/scheduling/RTLtoBTL.v +++ b/scheduling/RTLtoBTL.v @@ -1,7 +1,7 @@ Require Import Coqlib Maps. Require Import AST Integers Values Events Memory Globalenvs Smallstep. Require Import RTL Op Registers OptionMonad BTL. -Require Export BTLmatchRTL. +Require Export BTLmatchRTL BTL_Livecheck. Require Import Errors Linking. @@ -17,6 +17,7 @@ Definition transf_function (f: RTL.function) : res BTL.function := let (tc, te) := tcte in let f' := BTL.mkfunction (RTL.fn_sig f) (RTL.fn_params f) (RTL.fn_stacksize f) tc te in do u <- verify_function dupmap f' f; + do u <- liveness_checker f'; OK f'. Definition transf_fundef (f: RTL.fundef) : res fundef := |