<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/CAPI/Dialect/Linalg.cpp, branch users/nico/python-2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[MLIR][Linalg] Harden parsing Linalg named ops (#145337)</title>
<updated>2025-06-25T22:22:08+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2025-06-25T22:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ff0dcc461474cd2cda0190490721139fa962c633'/>
<id>ff0dcc461474cd2cda0190490721139fa962c633</id>
<content type='text'>
This thread through proper error handling / reporting capabilities to
avoid hitting llvm_unreachable while parsing linalg ops.

Fixes #132755
Fixes #132740
Fixes #129185</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This thread through proper error handling / reporting capabilities to
avoid hitting llvm_unreachable while parsing linalg ops.

Fixes #132755
Fixes #132740
Fixes #129185</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][CAPI][python] expose the python binding for linalgOp.getIndexingMaps (#136054)</title>
<updated>2025-04-17T20:52:36+00:00</updated>
<author>
<name>Bangtian Liu</name>
<email>liubangtian@gmail.com</email>
</author>
<published>2025-04-17T20:52:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7119b0cfd3678a16664d07e3c7b15399c4b3a321'/>
<id>7119b0cfd3678a16664d07e3c7b15399c4b3a321</id>
<content type='text'>
This PR is mainly about exposing the python bindings for
`linalgOp.getIndexingMaps`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR is mainly about exposing the python bindings for
`linalgOp.getIndexingMaps`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][CAPI][python] expose the python bindings for linalg::isaConvolutionOpInterface and linalg::inferConvolutionDims (#135253)</title>
<updated>2025-04-11T00:22:15+00:00</updated>
<author>
<name>Bangtian Liu</name>
<email>liubangtian@gmail.com</email>
</author>
<published>2025-04-11T00:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9466cbdf29306b2595303dac5b62b54cf71841b4'/>
<id>9466cbdf29306b2595303dac5b62b54cf71841b4</id>
<content type='text'>
This PR is mainly about exposing the python bindings for
`linalg::isaConvolutionOpInterface` and `linalg::inferConvolutionDims`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR is mainly about exposing the python bindings for
`linalg::isaConvolutionOpInterface` and `linalg::inferConvolutionDims`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][CAPI][python] expose the python bindings for linalg::isaContractionOpInterface and linalg::inferContractionDims (#134935)</title>
<updated>2025-04-10T00:01:38+00:00</updated>
<author>
<name>Bangtian Liu</name>
<email>liubangtian@gmail.com</email>
</author>
<published>2025-04-10T00:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c359f7625f4d5bacbd88c9c9d26943b7a7e45a3e'/>
<id>c359f7625f4d5bacbd88c9c9d26943b7a7e45a3e</id>
<content type='text'>
This PR is mainly about exposing the python bindings for`
linalg::isaContractionOpInterface` and` linalg::inferContractionDims`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR is mainly about exposing the python bindings for`
linalg::isaContractionOpInterface` and` linalg::inferContractionDims`.

---------

Signed-off-by: Bangtian Liu &lt;liubangtian@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Simplify DestinationStyleOpInterface.</title>
<updated>2022-10-17T10:43:41+00:00</updated>
<author>
<name>Alexander Belyaev</name>
<email>pifon@google.com</email>
</author>
<published>2022-10-14T17:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a7cccb9cbb2b9954684cbea37615303a59719973'/>
<id>a7cccb9cbb2b9954684cbea37615303a59719973</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D135348
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D135348
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][linalg] Add attributes to region builder (NFC).</title>
<updated>2022-02-14T13:14:14+00:00</updated>
<author>
<name>gysit</name>
<email>gysit@google.com</email>
</author>
<published>2022-02-14T13:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=348bfc8e50ea69e17e057636dd2823f60b88a034'/>
<id>348bfc8e50ea69e17e057636dd2823f60b88a034</id>
<content type='text'>
Adapt the region builder signature to hand in the attributes of the created ops. The revision is a preparation step the support named ops that need access to the operation attributes during op creation.

Depends On D119692

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D119693
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapt the region builder signature to hand in the attributes of the created ops. The revision is a preparation step the support named ops that need access to the operation attributes during op creation.

Depends On D119692

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D119693
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Make locations required when adding/creating block arguments</title>
<updated>2022-01-20T01:35:35+00:00</updated>
<author>
<name>River Riddle</name>
<email>riddleriver@gmail.com</email>
</author>
<published>2022-01-19T02:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e084679f961b2a2779f7ee23d53b4d8c4df2517c'/>
<id>e084679f961b2a2779f7ee23d53b4d8c4df2517c</id>
<content type='text'>
BlockArguments gained the ability to have locations attached a while ago, but they
have always been optional. This goes against the core tenant of MLIR where location
information is a requirement, so this commit updates the API to require locations.

Fixes #53279

Differential Revision: https://reviews.llvm.org/D117633</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BlockArguments gained the ability to have locations attached a while ago, but they
have always been optional. This goes against the core tenant of MLIR where location
information is a requirement, so this commit updates the API to require locations.

Fixes #53279

Differential Revision: https://reviews.llvm.org/D117633</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Use public PybindAdaptors in Linalg dialect bindings</title>
<updated>2022-01-05T15:18:30+00:00</updated>
<author>
<name>Alex Zinenko</name>
<email>zinenko@google.com</email>
</author>
<published>2022-01-05T12:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d716cfc4fa3e2152df73dcb9eda693303c8a33a9'/>
<id>d716cfc4fa3e2152df73dcb9eda693303c8a33a9</id>
<content type='text'>
Previously, the Python bindings for the Linalg dialect relied on the internal
implementation of core bindings. Most of that functionality was moved, and the
remaining one does not need access to the implementation: it used to accept a
dialect pointer as argument, but it can always be extracted from the operation
that it also accepts; operations are available through PybindAdaptors in an
opaque way. Change the bindings in that direction.

This enables the decoupling of the Linalg dialect Python extension from the
core IR Python extension.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D116649
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the Python bindings for the Linalg dialect relied on the internal
implementation of core bindings. Most of that functionality was moved, and the
remaining one does not need access to the implementation: it used to accept a
dialect pointer as argument, but it can always be extracted from the operation
that it also accepts; operations are available through PybindAdaptors in an
opaque way. Change the bindings in that direction.

This enables the decoupling of the Linalg dialect Python extension from the
core IR Python extension.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D116649
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][linalg] Replace LinalgOps.h and LinalgTypes.h by a single header.</title>
<updated>2021-12-15T12:15:03+00:00</updated>
<author>
<name>gysit</name>
<email>gysit@google.com</email>
</author>
<published>2021-12-15T12:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7f2c108eb872b86e047d55353d8e75ab2458c2f'/>
<id>b7f2c108eb872b86e047d55353d8e75ab2458c2f</id>
<content type='text'>
After removing the range type, Linalg does not define any type. The revision thus consolidates the LinalgOps.h and LinalgTypes.h into a single Linalg.h header. Additionally, LinalgTypes.cpp is renamed to LinalgDialect.cpp to follow the convention adopted by other dialects such as the tensor dialect.

Depends On D115727

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D115728
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After removing the range type, Linalg does not define any type. The revision thus consolidates the LinalgOps.h and LinalgTypes.h into a single Linalg.h header. Additionally, LinalgTypes.cpp is renamed to LinalgDialect.cpp to follow the convention adopted by other dialects such as the tensor dialect.

Depends On D115727

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D115728
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][linalg] Remove the StructuredOp capture mechanism.</title>
<updated>2021-06-28T07:57:40+00:00</updated>
<author>
<name>Tobias Gysi</name>
<email>gysit@google.com</email>
</author>
<published>2021-06-28T07:30:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bbf4436a82febeab811af59b20d6928e694b4178'/>
<id>bbf4436a82febeab811af59b20d6928e694b4178</id>
<content type='text'>
After https://reviews.llvm.org/D104109, structured ops support scalar inputs. As a result, the capture mechanism meant to pass non-shaped parameters got redundant. The patch removes the capture semantics after the FillOp migrated to use scalar operands https://reviews.llvm.org/D104121.

Differential Revision: https://reviews.llvm.org/D104785
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After https://reviews.llvm.org/D104109, structured ops support scalar inputs. As a result, the capture mechanism meant to pass non-shaped parameters got redundant. The patch removes the capture semantics after the FillOp migrated to use scalar operands https://reviews.llvm.org/D104121.

Differential Revision: https://reviews.llvm.org/D104785
</pre>
</div>
</content>
</entry>
</feed>
