<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/CAPI/Debug/Debug.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][python] Add debug helpers</title>
<updated>2025-07-04T09:59:57+00:00</updated>
<author>
<name>Nicolas Vasilache</name>
<email>nico.vasilache@amd.com</email>
</author>
<published>2025-07-04T08:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3a632bd7deadf2150d2fb64e732cf9c52ce6c83e'/>
<id>3a632bd7deadf2150d2fb64e732cf9c52ce6c83e</id>
<content type='text'>
This PR lets users provide --debug-only flags with python decorators.
This greatly simplifies the debugging experience in python.

Co-authored-by: Tres &lt;tpopp@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR lets users provide --debug-only flags with python decorators.
This greatly simplifies the debugging experience in python.

Co-authored-by: Tres &lt;tpopp@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] expose -debug-only equivalent to C and Python (#93175)</title>
<updated>2024-05-24T21:15:18+00:00</updated>
<author>
<name>Oleksandr "Alex" Zinenko</name>
<email>git@ozinenko.com</email>
</author>
<published>2024-05-24T21:15:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f21909c2fa15c06107b3dd5999a918e1f5fed0d'/>
<id>8f21909c2fa15c06107b3dd5999a918e1f5fed0d</id>
<content type='text'>
These are useful for finer-grain debugging and complement the already
exposed global debug flag.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are useful for finer-grain debugging and complement the already
exposed global debug flag.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Improve debug flag management in Python bindings</title>
<updated>2021-04-19T12:45:43+00:00</updated>
<author>
<name>Alex Zinenko</name>
<email>zinenko@google.com</email>
</author>
<published>2021-04-19T11:37:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4acd8457d8737e47db022076c6f8bd48171f4f49'/>
<id>4acd8457d8737e47db022076c6f8bd48171f4f49</id>
<content type='text'>
Expose the debug flag as a readable and assignable property of a
dedicated class instead of a write-only function. Actually test the fact
of setting the flag. Move test to a dedicated file, it has zero relation
to context_managers.py where it was added.

Arguably, it should be promoted from mlir.ir to mlir module, but we are
not re-exporting the latter and this functionality is purposefully
hidden so can stay in IR for now. Drop unnecessary export code.

Refactor C API and put Debug into a separate library, fix it to actually
set the flag to the given value.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D100757
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Expose the debug flag as a readable and assignable property of a
dedicated class instead of a write-only function. Actually test the fact
of setting the flag. Move test to a dedicated file, it has zero relation
to context_managers.py where it was added.

Arguably, it should be promoted from mlir.ir to mlir module, but we are
not re-exporting the latter and this functionality is purposefully
hidden so can stay in IR for now. Drop unnecessary export code.

Refactor C API and put Debug into a separate library, fix it to actually
set the flag to the given value.

Reviewed By: nicolasvasilache

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