aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver/Compiler.vexpand3
-rw-r--r--tools/compiler_expand.ml3
2 files changed, 6 insertions, 0 deletions
diff --git a/driver/Compiler.vexpand b/driver/Compiler.vexpand
index 34e85b6b..81aaf2a9 100644
--- a/driver/Compiler.vexpand
+++ b/driver/Compiler.vexpand
@@ -317,6 +317,9 @@ EXPAND_RTL_FORWARD_SIMULATIONS
eapply match_if_simulation. eassumption. eapply Deadcodeproof.transf_program_correct; eassumption.
eapply compose_forward_simulations.
+ eapply RTLTunnelingproof.transf_program_correct; eassumption.
+
+ eapply compose_forward_simulations.
eapply RTLpathLivegenproof.transf_program_correct; eassumption.
pose proof RTLpathLivegenproof.all_fundef_liveness_ok as X'.
refine (modusponens _ _ (X' _ _ _) _); eauto. intro.
diff --git a/tools/compiler_expand.ml b/tools/compiler_expand.ml
index dfadca3b..c6bb88a5 100644
--- a/tools/compiler_expand.ml
+++ b/tools/compiler_expand.ml
@@ -67,6 +67,9 @@ let post_rtl_passes =
(* This is meant to clean up dead code afer "if-lifting" + removing of redundant condition *)
PARTIAL, (Option "optim_redundancy"), Require, (Some "Redundancy elimination"), "Deadcode", Noprint;
+ PARTIAL, Always, Require, (Some "RTL Branch Tunneling"), "RTLTunneling", Noprint;
+
+
PARTIAL, Always, Require, (Some "RTLpath generation"), "RTLpathLivegen", Noprint;
PARTIAL, Always, Require, (Some "Prepass scheduling"), "RTLpathScheduler", Noprint;
TOTAL, Always, Require, (Some "Projection to RTL"), "RTLpath", (Print (Printf.sprintf "RTL %d" ((Array.length rtl_passes) + 1)));