hugr-passes: v0.14.0
·
56 commits
to main
since this release
⚠ BREAKING CHANGES
-
Updated to
hugr 0.14
, which includes breaking changes to the serialization format. -
ConstantFoldPass
is no longerUnwindSafe
,RefUnwindSafe
, norCopy
. -
fold_leaf_op
andfind_consts
have been removed. -
ConstantFoldPass::new
function removed. Instead useConstantFoldPass::default
. -
Variant
ConstFoldError::SimpleReplacementError
was removed.
Bug Fixes
- allow disconnected outputs in SiblingSubgraph::from_node (#1769)
New Features
- [breaking] Replace GATs with
impl Iterator
returns (RPITIT) onHugrView
(#1660) - [breaking] Share
Extension
s underArc
s (#1647) - [breaking] OpDefs and TypeDefs keep a reference to their extension (#1719)
- [breaking] Have
CustomType
s reference theirExtension
definition (#1723) - [breaking] Resolve OpaqueOps and CustomType extensions (#1735)
- Dataflow analysis framework (#1476)
- [breaking]
used_extensions
calls for both ops and signatures (#1739) - [breaking] Hugrs now keep a
ExtensionRegistry
with their requirements (#1738) - (hugr-passes) [breaking] Rewrite constant_fold_pass using dataflow framework (#1603)
- [breaking] Rename
collections
extension tocollections.list
(#1764) - [breaking] Add
monomorphization
pass (#1733) - [breaking] rename
extension_reqs
toruntime_reqs
(#1776) - [breaking] Don't require explicit extension registers for validation (#1784)
- [breaking] Remove ExtensionRegistry args in UnwrapBuilder and ListOp (#1785)