There is a newer version of the record available.

Published November 28, 2025 | Version v0.55.3
Software Open

xdslproject/xdsl: v0.55.3

Description

The _matched_op_ helpers on PatternRewriter have been deprecated, and PatternRewriter.current_operation will be deprecated soon. This will raise a warning in the next few releases, and will eventually be removed. We recommend that helpers implementing rewrites use a different mechanism to keep track of the operation being rewritten than the PatternRewriter state.

Changes

  • dialects: (hw) Add array_create and array_get ops @JosseVanDelm (#5462)

xDSL framework

  • core: Replace get_trait --> has_trait if the trait isn't used @jumerckx (#5481)
  • core: add AffineParser.parse_affine_map_of_ssa_ids @superlopuh (#5465)
  • core: deprecate PatternRewriter.replace_matched_op @superlopuh (#5475)
  • core: deprecate PatternRewriter.insert_op_before/after_matched_op @superlopuh (#5472)
  • core: update insertion_point when setting PatternRewriter.current_operation @superlopuh (#5473)
  • core: deprecate PatternRewriter.inline_block_before/after_matched_op @superlopuh (#5471)
  • core: deprecate PatternRewriter.erase_matched_op @superlopuh (#5463)
  • core: use closure to parse bare id in affine expr parsing @superlopuh (#5464)
  • core: remove unused BlockCallback @superlopuh (#5466)

Dialects

  • dialects: (tosa) add tosa.const @jorendumoulin (#5477)

Interpreter

  • interpreter: (pdl) Fix PDLMatcher.match_result to check pdl.OperationType's type_values instead of results @mudit2812 (#5479)
  • interpreter: (eqsat_pdl_interp) Support create_operation with multiple results @jumerckx (#5469)
  • interpreter: (eqsat_pdl_interp) Test eclass analysis @jumerckx (#5470)
  • interpreter: (eqsat_pdl_interp) Support replacing operations with multiple results @jumerckx (#5468)
  • interpreter: (eqsat) Support index for pdl_interp_get_results @jumerckx (#5467)

πŸ—Ž Documentation

  • documentation: update mlir version in documentation @jorendumoulin (#5476)

πŸ› Bug Fixes

  • core: update insertion_point when setting PatternRewriter.current_operation @superlopuh (#5473)

Files

xdslproject/xdsl-v0.55.3.zip

Files (4.4 MB)

Name Size Download all
md5:3658d94845274651254ad8eb5f2d32e9
4.4 MB Preview Download

Additional details

Related works

Software