Skip to content

Releases: xdslproject/xdsl

v0.62.1

17 Apr 19:07
3cbed6a

Choose a tag to compare

Changes

Dialects

Transformations

  • transformations: (convert-memref-to-ptr) factor out get_strides helper @sueszli (#5834)
  • transformations: (convert-memref-to-ptr) handle non-zero offsets in reinterpret cast @sueszli (#5832)
  • transformations: (expand_math_to_polynomials) add terms parameter to exp @szerdick (#5793)

Backend

  • backend: (llvm) support forward references in convert_module @sueszli (#5848)
  • backend: (llvm) add AddressOfOp conversion @sueszli (#5830)
  • backend: preserve LLVM pointer address spaces in type conversion @sueszli (#5840)
  • backend: (llvm) add target config to convert_module @sueszli (#5837)
  • backend: add llvm.NullOp conversion @sueszli (#5827)
  • backend: (llvm) add vector.FMAOp conversion @sueszli (#5828)
  • backend: (riscv) handle dense constants @szerdick (#5799)

🗎 Documentation

  • documentation: Fix print for listlang booleans in marimo notebooks @naveen-seth (#5841)
  • documentation: updated reference to currently pinned LLVM version @hhkit (#5819)

Testing

  • testing: add tests for marimo notebooks @superlopuh (#5843)
  • testing: (test_lower_linalg_to_snitch) expand-math-to-polynomials to snitch pipeline @szerdick (#5798)

Dependencies

v0.62.0

10 Apr 08:32
79bcf5f

Choose a tag to compare

Updates the corresponding LLVM version to v22, if you use xDSL to interoperate with MLIR, please be advised that you may need to update your MLIR version for seamless interop.

Changes

Dependencies

v0.61.0

10 Apr 08:29
e30b3cc

Choose a tag to compare

Some breaking changes to BitEnumAttribute in preparation for the upcoming bump of corresponding LLVM version to 22.

Changes

xDSL framework

  • core: BitEnumAttribute with customizable delimiter value @hhkit (#5814)
  • core: moved BitEnumAttribute from core to dialect.utils @hhkit (#5813)
  • core: BitEnumAttribute to support alternate flag separators @hhkit (#5805)
  • core: added parse_list to GenericParser with support for changing separator @hhkit (#5800)

Dialects

  • dialects: (x86) add support for 32, 16, and 8-bit gp registers @superlopuh (#5811)
  • dialects: (linalg) Make linalg.transpose into a structured op @Lishin1215 (#5812)
  • dialects: (tensor) Add tensor.concat op @ed741 (#5790)
  • dialects: (x86) add masked variants of vector move ops @superlopuh (#5807)
  • dialects: (x86) wrap memory operands in assembly-like brackets @superlopuh (#5804)

Transformations

  • transformations: (convert-pdl-to-pdl-interp) fix recursiondepth exception @jumerckx (#5809)
  • transformations: (convert-pdl-to-pdl-interp) Put individual matchers in a single pdl_interp.func @jumerckx (#5803)

Backend

  • backend: add register pools for aliasing registers, use in x86 @superlopuh (#5806)

Dependencies

v0.60.0

03 Apr 15:22
ffe70dc

Choose a tag to compare

Changes

  • core: change BitEnumAttribute internal data to use frozenset @hhkit (#5796)
  • backend: (riscv) propagate register width to move helpers @szerdick (#5779)
  • dialects: (stencil) Add reduce and yield operations @Archii0 (#5784)

xDSL framework

  • core: simplified parser implementation in BitEnumAttribute @hhkit (#5792)
  • core: migrate xdsl-opt targets to Multiverse @superlopuh (#5702)

Frontend

Dialects

Transformations

  • transformations: (convert_linalg_to_loops) Lower linalg.index to loop variables @Lishin1215 (#5797)
  • transformations: (convert_linalg_to_loops) Support dynamic loop bounds @Lishin1215 (#5768)
  • transformations: (convert-arith-to-riscv-snitch) support vec mul @szerdick (#5771)
  • transformations: (linalg) Only pass SSAValue to rewrite_linalg_structured_to_loops @Lishin1215 (#5774)
  • transforms: (math) Convert exp to Taylor series without division @szerdick (#5764)
  • transformations: (convert-pdl-to-pdl-interp) Add an option to lower patterns as individual matcher functions @jumerckx (#5765)
  • transformations: (convert_linalg_to_loops) Extend convert-linalg-to-loops to lower LinalgStructuredOperation @Lishin1215 (#5756)

Backend

  • backend: add RegisterNameSpec and add as optional arg to reg @superlopuh (#5738)

Interpreter

Continuous Integration

  • CI: add git directory as safe for setuptools_vcs step in ci-mlir @superlopuh (#5781)

Dependencies

v0.59.0

20 Mar 07:10
bda57f2

Choose a tag to compare

This is a release with one change, which is fairly mechanical but required a bit of work to update the tests for. With this change, block arguments (which includes function arguments) don't insert a space after the SSAValue name and the :.

Before:

func.func @foo(%arg0 : i32, %arg1 : i64) {

After:

func.func @foo(%arg0: i32, %arg1: i64) {

Changes

xDSL framework

  • core: don't insert space between block arguments and colons @superlopuh (#5745)

v0.58.0

19 Mar 21:50
5576cc0

Choose a tag to compare

Targets can now be added to Universes, meaning that xdsl-opt -t can be used to emit text by projects in the same Python environment.

Changes

xDSL framework

Dialects

Transformations

  • transformations: (linalg-generalize-named-ops) Generalize named ops to linalg.generic @Lishin1215 (#5726)

🐛 Bug Fixes

  • rewriting: Fix has_done_action flag for replace uses methods. @ed741 (#5742)

Dependencies

Rewriting

  • rewriting: Fix has_done_action flag for replace uses methods. @ed741 (#5742)

v0.57.3

12 Mar 22:42
f6f7687

Choose a tag to compare

Changes

xDSL framework

Dialects

  • dialects: (linalg) NamedOperations are LinalgStructuredOperations @superlopuh (#5714)
  • dialects: (linalg) expand LinalgStructuredOperation with missing fields @superlopuh (#5712)
  • dialects: (linalg) rename LinalgOperation to LinalgStructuredOperation @superlopuh (#5711)
  • dialects: (llvm) add SelectOp @sueszli (#5707)

Interpreter

Dependencies

Miscellaneous

v0.57.2

06 Mar 16:36
b495b99

Choose a tag to compare

Changes

xDSL framework

Dialects

Transformations

  • transformations: (convert-pdl-to-pdl-interp) Insert dedups for operations returned by native rewrites @jumerckx (#5699)
  • transformations: (convert-memref-to-ptr) add CastOp and ReinterpretCastOp lowering @sueszli (#5692)
  • transformations: add exp-to-taylor lowering pass @szerdick (#5606)

Interpreter

Testing

Dependencies

v0.57.1

28 Feb 11:49
746ec51

Choose a tag to compare

Some bug fixes and the beginning of location support in xDSL.

Changes

Dialects

🗎 Documentation

Testing

Dependencies

v0.57.0

19 Feb 10:34
6db888d

Choose a tag to compare

We moved our docs website! Now no longer on readthedocs, please navigate to docs.xdsl.dev.

Some breaking changes in this release:

ConstantLike is a trait again, for constant folding in the greedy rewriter please declare both the ConstantLike trait and implement HasFolderInterface.

The RISC-V dialect is in the process of getting split into three dialects, rv32 and rv64 ops where the op definitions have to be different for the 32- and 64-bit variants, and riscv for all functionality that is shared.

Deprecations:

IntegerAttr.from_int_and_width is deprecated in favor of the init.

Changes

xDSL framework

Frontend

Dialects

Transformations

  • transformations: (convert-pdl-to-pdl-interp) Add eqsat instrumentation @jumerckx (#5585)
  • transformations: (apply-pdl-interp) Defer rewrite application @jumerckx (#5646)
  • transforms: (approximate-math-with-bitcast) Add support for math.log1p @AntonLydike (#5619)
  • transform: (approximate-math-with-bitcast) Pass fastmath flags through @AntonLydike (#5615)
  • transformations: (approximate-math-with-bitcast) Add base pass @AntonLydike (#5607)

Backend

Interpreter

🗎 Documentation

Continuous Integration

Dependencies

Miscellaneous

  • documentation: Fix Parameterized spelling and doc string. @ed741 (#5616)

Rewriting

Tool