<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/mlir/lib/Conversion/MathToROCDL/MathToROCDL.cpp, 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>[mlir] Remove redundant typename (NFC) (#166108)</title>
<updated>2025-11-02T23:52:36+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-11-02T23:52:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=05b6e1ffb32f2fc2d8821c8e13702834ba13e554'/>
<id>05b6e1ffb32f2fc2d8821c8e13702834ba13e554</id>
<content type='text'>
Identified with readability-redundant-typename.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with readability-redundant-typename.</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][ROCDL] Add math.clampf -&gt; rocdl.fmed3 conversion (#163520)</title>
<updated>2025-10-17T12:14:58+00:00</updated>
<author>
<name>Keshav Vinayak Jha</name>
<email>31160700+keshavvinayak01@users.noreply.github.com</email>
</author>
<published>2025-10-17T12:14:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fbbffc11690c0f47bdc74939b290696df4c1c061'/>
<id>fbbffc11690c0f47bdc74939b290696df4c1c061</id>
<content type='text'>
Added Pattern for lowering `Math::ClampFOp` to `ROCDL::FMED3`.
Also added `chipet` option to `MathToRocdl` pass to check for arch
support ISA instructions

Solves [#15072](https://github.com/llvm/llvm-project/issues/157052)

Reapplies https://github.com/llvm/llvm-project/pull/160100

Un-reverts the merged https://github.com/llvm/llvm-project/pull/163259,
and fixes the error.

---------

Signed-off-by: Keshav Vinayak Jha &lt;keshavvinayakjha@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added Pattern for lowering `Math::ClampFOp` to `ROCDL::FMED3`.
Also added `chipet` option to `MathToRocdl` pass to check for arch
support ISA instructions

Solves [#15072](https://github.com/llvm/llvm-project/issues/157052)

Reapplies https://github.com/llvm/llvm-project/pull/160100

Un-reverts the merged https://github.com/llvm/llvm-project/pull/163259,
and fixes the error.

---------

Signed-off-by: Keshav Vinayak Jha &lt;keshavvinayakjha@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[MLIR][ROCDL] Add math.clampf -&gt; rocdl.fmed3 conversion" (#163447)</title>
<updated>2025-10-14T20:33:09+00:00</updated>
<author>
<name>Fabian Mora</name>
<email>fmora.dev@gmail.com</email>
</author>
<published>2025-10-14T20:33:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e34b71e351be7fcb7b0225eea91e4a5022bce64f'/>
<id>e34b71e351be7fcb7b0225eea91e4a5022bce64f</id>
<content type='text'>
Reverts llvm/llvm-project#163259. Reverting due to missing link libraries
causing failures in shared build bots.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#163259. Reverting due to missing link libraries
causing failures in shared build bots.</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][ROCDL] Add math.clampf -&gt; rocdl.fmed3 conversion (#163259)</title>
<updated>2025-10-14T20:21:26+00:00</updated>
<author>
<name>Keshav Vinayak Jha</name>
<email>31160700+keshavvinayak01@users.noreply.github.com</email>
</author>
<published>2025-10-14T20:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1e6df640e2bae9e20b640bb9ebdba140ba7bc0c1'/>
<id>1e6df640e2bae9e20b640bb9ebdba140ba7bc0c1</id>
<content type='text'>
Added Pattern for lowering `Math::ClampFOp` to `ROCDL::FMED3`.
Also added `chipset` option to `MathToRocdl` pass to check for arch
support ISA instructions

Solves [#15072](https://github.com/llvm/llvm-project/issues/157052)

Reapplies https://github.com/llvm/llvm-project/pull/160100

---------

Signed-off-by: Keshav Vinayak Jha &lt;keshavvinayakjha@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added Pattern for lowering `Math::ClampFOp` to `ROCDL::FMED3`.
Also added `chipset` option to `MathToRocdl` pass to check for arch
support ISA instructions

Solves [#15072](https://github.com/llvm/llvm-project/issues/157052)

Reapplies https://github.com/llvm/llvm-project/pull/160100

---------

Signed-off-by: Keshav Vinayak Jha &lt;keshavvinayakjha@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR] Migrate some conversion passes and dialects to LDBG() macro (NFC) (#151349)</title>
<updated>2025-07-30T15:58:54+00:00</updated>
<author>
<name>Mehdi Amini</name>
<email>joker.eph@gmail.com</email>
</author>
<published>2025-07-30T15:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=75e5a705771315bc40d2188675d08cb2c71f6933'/>
<id>75e5a705771315bc40d2188675d08cb2c71f6933</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir] Remove unused includes (NFC) (#147101)</title>
<updated>2025-07-04T20:30:21+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-07-04T20:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fa9adbfda9679250ab753edd9aa908d9ea53be0a'/>
<id>fa9adbfda9679250ab753edd9aa908d9ea53be0a</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][ROCDL] Add conversion of math.erfc to AMD GPU library calls (#128899)</title>
<updated>2025-02-27T19:32:25+00:00</updated>
<author>
<name>Jan Leyonberg</name>
<email>jan_sjodin@yahoo.com</email>
</author>
<published>2025-02-27T19:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c3b3352f7346b06d9e17057fd5e9153e68229b9c'/>
<id>c3b3352f7346b06d9e17057fd5e9153e68229b9c</id>
<content type='text'>
This patch adds a pattern to convert the math.erfc operation to AMD GPU
library calls.

Depends on: #128897 for the flang test</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a pattern to convert the math.erfc operation to AMD GPU
library calls.

Depends on: #128897 for the flang test</pre>
</div>
</content>
</entry>
<entry>
<title>[MLIR][ROCDL] Convert `math::fpowi` to ROCDL call (#122640)</title>
<updated>2025-01-14T04:31:25+00:00</updated>
<author>
<name>lialan</name>
<email>me@alanli.org</email>
</author>
<published>2025-01-14T04:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9f114afe092483983a82a73c82704f11bb28bf8c'/>
<id>9f114afe092483983a82a73c82704f11bb28bf8c</id>
<content type='text'>
* Have to relax static assert to allow reuse of existing template
patterns for conversion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Have to relax static assert to allow reuse of existing template
patterns for conversion.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][NFC] Mark type converter in `populate...` functions as `const` (#111250)</title>
<updated>2024-10-05T19:32:40+00:00</updated>
<author>
<name>Matthias Springer</name>
<email>me@m-sp.org</email>
</author>
<published>2024-10-05T19:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=206fad0e218e83799e49ca15545d997c6c5e8a03'/>
<id>206fad0e218e83799e49ca15545d997c6c5e8a03</id>
<content type='text'>
This commit marks the type converter in `populate...` functions as
`const`. This is useful for debugging.

Patterns already take a `const` type converter. However, some
`populate...` functions do not only add new patterns, but also add
additional type conversion rules. That makes it difficult to find the
place where a type conversion was added in the code base. With this
change, all `populate...` functions that only populate pattern now have
a `const` type converter. Programmers can then conclude from the
function signature that these functions do not register any new type
conversion rules.

Also some minor cleanups around the 1:N dialect conversion
infrastructure, which did not always pass the type converter as a
`const` object internally.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit marks the type converter in `populate...` functions as
`const`. This is useful for debugging.

Patterns already take a `const` type converter. However, some
`populate...` functions do not only add new patterns, but also add
additional type conversion rules. That makes it difficult to find the
place where a type conversion was added in the code base. With this
change, all `populate...` functions that only populate pattern now have
a `const` type converter. Programmers can then conclude from the
function signature that these functions do not register any new type
conversion rules.

Also some minor cleanups around the 1:N dialect conversion
infrastructure, which did not always pass the type converter as a
`const` object internally.</pre>
</div>
</content>
</entry>
<entry>
<title>[mlir][AMDGPU] Add support for AMD f16 math library calls (#108809)</title>
<updated>2024-09-23T17:52:00+00:00</updated>
<author>
<name>Daniel Hernandez-Juarez</name>
<email>dhernandez0@gmail.com</email>
</author>
<published>2024-09-23T17:52:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1c47fa9b620d0abb280647b4f361ada43784d00e'/>
<id>1c47fa9b620d0abb280647b4f361ada43784d00e</id>
<content type='text'>
In this PR we add support for AMD f16 math library calls
(`__ocml_*_f16`)

CC: @krzysz00 @manupak</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this PR we add support for AMD f16 math library calls
(`__ocml_*_f16`)

CC: @krzysz00 @manupak</pre>
</div>
</content>
</entry>
</feed>
