<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/tools, branch main</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>[NFC][TableGen] Remove `close` member from various CodeGenHelpers (#167904)</title>
<updated>2025-11-18T19:11:19+00:00</updated>
<author>
<name>Rahul Joshi</name>
<email>rjoshi@nvidia.com</email>
</author>
<published>2025-11-18T19:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f67759585f7bd25cfebf2224680b131ffe5425b'/>
<id>8f67759585f7bd25cfebf2224680b131ffe5425b</id>
<content type='text'>
Always rely on local scopes to enforce the lifetime of these helper
objects and by extension where the "closing" of various C++ code
constructs happens.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always rely on local scopes to enforce the lifetime of these helper
objects and by extension where the "closing" of various C++ code
constructs happens.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][python] Fix ir.Value type to not break other types (#167930)</title>
<updated>2025-11-13T22:16:39+00:00</updated>
<author>
<name>Nirvedh Meshram</name>
<email>96096277+nirvedhmeshram@users.noreply.github.com</email>
</author>
<published>2025-11-13T22:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f6d9631a5dc37ca9d674ae4e9c6be6609343735c'/>
<id>f6d9631a5dc37ca9d674ae4e9c6be6609343735c</id>
<content type='text'>
Change in https://github.com/llvm/llvm-project/pull/166148 caused breaks
for some other types.
Specifically this error was seen in a downstream project
```
 _ods_ir.OpOperandList[_ods_ir.IntegerType]:

TypeError: type 'iree.compiler._mlir_libs._mlir.ir.OpOperandList' is not subscriptable

```
This PR tries to make those changes not affect the other types

---------

Signed-off-by: Nirvedh Meshram &lt;nirvedh@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change in https://github.com/llvm/llvm-project/pull/166148 caused breaks
for some other types.
Specifically this error was seen in a downstream project
```
 _ods_ir.OpOperandList[_ods_ir.IntegerType]:

TypeError: type 'iree.compiler._mlir_libs._mlir.ir.OpOperandList' is not subscriptable

```
This PR tries to make those changes not affect the other types

---------

Signed-off-by: Nirvedh Meshram &lt;nirvedh@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR] [Python] `ir.Value` is now generic in the type of the value it holds (#166148)</title>
<updated>2025-11-13T13:23:40+00:00</updated>
<author>
<name>Sergei Lebedev</name>
<email>185856+superbobry@users.noreply.github.com</email>
</author>
<published>2025-11-13T13:23:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=31536e6e9a54f54b26f97ce227d294d29b2b845f'/>
<id>31536e6e9a54f54b26f97ce227d294d29b2b845f</id>
<content type='text'>
This makes it similar to `mlir::TypedValue` in the MLIR C++ API and
allows users to be more specific about the values they produce or
accept.

Co-authored-by: Maksim Levental &lt;maksim.levental@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it similar to `mlir::TypedValue` in the MLIR C++ API and
allows users to be more specific about the values they produce or
accept.

Co-authored-by: Maksim Levental &lt;maksim.levental@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in mlir-opt.cpp (NFC)</title>
<updated>2025-11-13T12:39:15+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2025-08-21T20:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3cfe6aa46e06a8caa3f07057838d31c6ce840076'/>
<id>3cfe6aa46e06a8caa3f07057838d31c6ce840076</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in tblgen-to-irdl.cpp (NFC)</title>
<updated>2025-11-11T14:36:59+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2025-08-21T20:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=863730ff591061e2c03afd79bc1afb5579ef980b'/>
<id>863730ff591061e2c03afd79bc1afb5579ef980b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][ods] Enable basic string interpolation in constraint summary. (#153603)</title>
<updated>2025-11-06T23:00:19+00:00</updated>
<author>
<name>Jacques Pienaar</name>
<email>jpienaar@google.com</email>
</author>
<published>2025-11-06T23:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8b422006af02766a0e1577108260200944106530'/>
<id>8b422006af02766a0e1577108260200944106530</id>
<content type='text'>
This enables printing, for example, the attribute value from a
mismatched predicate. Example of resultant output (here made
non-negative report value seen as sign-extended int):

```
PDL/ops.mlir:21:1: error: 'pdl.pattern' op attribute 'benefit' failed to satisfy constraint: 16-bit signless integer attribute whose value is non-negative (got -31)
pdl.pattern @rewrite_with_args : benefit(-31) {
^
```

This is primarily the mechanism and didn't change any existing
constraints. I also attempted to keep the error format as close to the
original as possible - but did notice 2 errors that were inconsistent
with the rest and updated them to be consistent.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables printing, for example, the attribute value from a
mismatched predicate. Example of resultant output (here made
non-negative report value seen as sign-extended int):

```
PDL/ops.mlir:21:1: error: 'pdl.pattern' op attribute 'benefit' failed to satisfy constraint: 16-bit signless integer attribute whose value is non-negative (got -31)
pdl.pattern @rewrite_with_args : benefit(-31) {
^
```

This is primarily the mechanism and didn't change any existing
constraints. I also attempted to keep the error format as close to the
original as possible - but did notice 2 errors that were inconsistent
with the rest and updated them to be consistent.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][ods] Enable granular pass registration. (#166532)</title>
<updated>2025-11-06T05:34:02+00:00</updated>
<author>
<name>Jacques Pienaar</name>
<email>jpienaar@google.com</email>
</author>
<published>2025-11-06T05:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=49f55f4991227f3c7a2b8161bbf45c74b7023944'/>
<id>49f55f4991227f3c7a2b8161bbf45c74b7023944</id>
<content type='text'>
Same as with pass def &amp; decl. This doesn't change anything with registry
and the big flag kept (e.g., GEN_PASS_REGISTRATION behaves like
GEN_PASS_DECL and so too for sub ones).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same as with pass def &amp; decl. This doesn't change anything with registry
and the big flag kept (e.g., GEN_PASS_REGISTRATION behaves like
GEN_PASS_DECL and so too for sub ones).</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][ODS] Re-enable direct implementation of type interfaces with method bodies (#166335)</title>
<updated>2025-11-05T09:05:06+00:00</updated>
<author>
<name>Andi Drebes</name>
<email>47449897+andidr@users.noreply.github.com</email>
</author>
<published>2025-11-05T09:05:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8eacea993408c27287f985f27376501442b4dfc6'/>
<id>8eacea993408c27287f985f27376501442b4dfc6</id>
<content type='text'>
Since commit 842622bf8bea782e9d9865ed78b0d8643f098122 adding support for
overloading interface methods, a `using` directive is emitted for any
interface method that does not require emission of a trait method,
including for methods that define a method body.

However, methods directly specifying a body (e.g., via the `methodBody`
parameter of `InterfaceMethod`) are implemented directly in the
interface class and are therefore not present in the associated trait.
The generated `using` directive then referes to a non-existent method of
the trait, resulting in an error upon compilation of the generated code.

This patch changes `DefGen::emitTraitMethods()`, such that
`genTraitMethodUsingDecl()` is not invoked for interface methods with a
body anymore.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 842622bf8bea782e9d9865ed78b0d8643f098122 adding support for
overloading interface methods, a `using` directive is emitted for any
interface method that does not require emission of a trait method,
including for methods that define a method body.

However, methods directly specifying a body (e.g., via the `methodBody`
parameter of `InterfaceMethod`) are implemented directly in the
interface class and are therefore not present in the associated trait.
The generated `using` directive then referes to a non-existent method of
the trait, resulting in an error upon compilation of the generated code.

This patch changes `DefGen::emitTraitMethods()`, such that
`genTraitMethodUsingDecl()` is not invoked for interface methods with a
body anymore.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir-tblgen] Only create body for unpruned create (#166019)</title>
<updated>2025-11-02T01:47:00+00:00</updated>
<author>
<name>Hsiang-Chieh Tsou</name>
<email>65450151+hsjts0u@users.noreply.github.com</email>
</author>
<published>2025-11-02T01:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=21959ac88d6f486bc28727cae4729c5513380340'/>
<id>21959ac88d6f486bc28727cae4729c5513380340</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir-tblgen] Suffix underscore to prevent conflict (#166017)</title>
<updated>2025-11-02T01:31:33+00:00</updated>
<author>
<name>Hsiang-Chieh Tsou</name>
<email>65450151+hsjts0u@users.noreply.github.com</email>
</author>
<published>2025-11-02T01:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=acdcac01453226194b115b1cb2c6b2ee654b03d4'/>
<id>acdcac01453226194b115b1cb2c6b2ee654b03d4</id>
<content type='text'>
In the case where the property name is value, the generated op def file would have a collision for hash_value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case where the property name is value, the generated op def file would have a collision for hash_value.</pre>
</div>
</content>
</entry>
</feed>
