Skip to content

Commit a51e2df

Browse files
committed
feat: MakeTuple->UnpackTuple elision pass
1 parent a77680b commit a51e2df

File tree

4 files changed

+398
-0
lines changed

4 files changed

+398
-0
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hugr-passes/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ bench = false
1919
hugr-core = { path = "../hugr-core", version = "0.15.0" }
2020
portgraph = { workspace = true }
2121
ascent = { version = "0.8.0" }
22+
derive_more = { workspace = true, features = ["display", "error", "from"] }
2223
itertools = { workspace = true }
2324
lazy_static = { workspace = true }
2425
paste = { workspace = true }

hugr-passes/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ mod half_node;
1212
pub mod lower;
1313
pub mod merge_bbs;
1414
mod monomorphize;
15+
pub mod untuple;
1516

1617
// TODO: Deprecated re-export. Remove on a breaking release.
1718
#[deprecated(
@@ -34,3 +35,4 @@ pub mod validation;
3435
pub use force_order::{force_order, force_order_by_key};
3536
pub use lower::{lower_ops, replace_many_ops};
3637
pub use non_local::{ensure_no_nonlocal_edges, nonlocal_edges};
38+
pub use untuple::UntuplePass;

0 commit comments

Comments
 (0)