From 189e64f623153ec871de67b2f75a46feed0a1644 Mon Sep 17 00:00:00 2001 From: Aaron Councilman <aaronjc4@illinois.edu> Date: Thu, 23 Jan 2025 21:49:20 -0600 Subject: [PATCH] Parse name of lift-dc-math path --- juno_samples/schedule_test/src/sched.sch | 1 + juno_scheduler/src/compile.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/juno_samples/schedule_test/src/sched.sch b/juno_samples/schedule_test/src/sched.sch index f73e3e70..15524024 100644 --- a/juno_samples/schedule_test/src/sched.sch +++ b/juno_samples/schedule_test/src/sched.sch @@ -2,6 +2,7 @@ macro juno-setup!(X) { //gvn(X); phi-elim(X); dce(X); + lift-dc-math(X); } macro codegen-prep!(X) { infer-schedules(X); diff --git a/juno_scheduler/src/compile.rs b/juno_scheduler/src/compile.rs index 5317eb86..fc3c1279 100644 --- a/juno_scheduler/src/compile.rs +++ b/juno_scheduler/src/compile.rs @@ -110,6 +110,7 @@ impl FromStr for Appliable { "ip-sroa" | "interprocedural-sroa" => { Ok(Appliable::Pass(ir::Pass::InterproceduralSROA)) } + "lift-dc-math" => Ok(Appliable::Pass(ir::Pass::LiftDCMath)), "outline" => Ok(Appliable::Pass(ir::Pass::Outline)), "phi-elim" => Ok(Appliable::Pass(ir::Pass::PhiElim)), "predication" => Ok(Appliable::Pass(ir::Pass::Predication)), -- GitLab