<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libclc, branch users/makslevental/ptr-dialectpython</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][libclc] Rename clc_cbrt.inc to clc_cbrt.h (#166330)</title>
<updated>2025-11-05T00:20:29+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-11-05T00:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8648beff758db89e2eb816bd01d9b3c37e6aa3f9'/>
<id>8648beff758db89e2eb816bd01d9b3c37e6aa3f9</id>
<content type='text'>
__clc_cbrt functions are declared in clc_cbrt.inc. Rename to .h for
consistency with other headers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__clc_cbrt functions are declared in clc_cbrt.inc. Rename to .h for
consistency with other headers.</pre>
</div>
</content>
</entry>
<entry>
<title>[libclc] Implement integer __clc_abs using __builtin_elementwise_abs (#164957)</title>
<updated>2025-10-27T04:58:14+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-27T04:58:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a61e016565409b6a6620422dd915e591ea75f998'/>
<id>a61e016565409b6a6620422dd915e591ea75f998</id>
<content type='text'>
Previous implementation was cmp, select and @llvm.smax sequence in LLVM IR.
__CLC_GEN_U/__CLC_GEN_S is upstreamed from intel/llvm repo.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previous implementation was cmp, select and @llvm.smax sequence in LLVM IR.
__CLC_GEN_U/__CLC_GEN_S is upstreamed from intel/llvm repo.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][libclc] Improve empty builtins error: include ARCH_SUFFIX in message (#164527)</title>
<updated>2025-10-22T04:47:44+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-22T04:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d6b68545aa6249bf4445e0ef96c0134d69a98a26'/>
<id>d6b68545aa6249bf4445e0ef96c0134d69a98a26</id>
<content type='text'>
To clarify which builtin set has no bytecode files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To clarify which builtin set has no bytecode files.</pre>
</div>
</content>
</entry>
<entry>
<title>[libclc] Fix double NAN_MASK in __clc_nan (#163522)</title>
<updated>2025-10-21T02:43:28+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-21T02:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7a5435351d7cc26e6e3d7d66c3b5317e217521bf'/>
<id>7a5435351d7cc26e6e3d7d66c3b5317e217521bf</id>
<content type='text'>
0x7ff0000000000000 is +inf. Change it to quiet nan 0x7ff8000000000000.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
0x7ff0000000000000 is +inf. Change it to quiet nan 0x7ff8000000000000.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][libclc] Simplify degrees, radians and smoothstep macros (#164203)</title>
<updated>2025-10-20T05:51:18+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-20T05:51:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=54eaf22269ebd9433196602acc152152928f9a0d'/>
<id>54eaf22269ebd9433196602acc152152928f9a0d</id>
<content type='text'>
Implementation doesn't change.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation doesn't change.</pre>
</div>
</content>
</entry>
<entry>
<title>[libclc] Move functions definition from header clc_sincos_piby4.inc into clc_sincos_helpers.cl (#164028)</title>
<updated>2025-10-20T02:08:35+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-20T02:08:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=377148fd60df55e486dc72b26248006ae092725a'/>
<id>377148fd60df55e486dc72b26248006ae092725a</id>
<content type='text'>
inline functions defined in clc_sincos_piby4.inc miss static specifier
and are deleted by EliminateAvailableExternallyPass when not inlined.

This PR fix the problem by removing inline and moving function
definition
into clc/lib/generic/math/clc_sincos_helpers.cl. It makes sense to put
all sin/cos helpers definitions in one file clc_sincos_helpers.cl.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
inline functions defined in clc_sincos_piby4.inc miss static specifier
and are deleted by EliminateAvailableExternallyPass when not inlined.

This PR fix the problem by removing inline and moving function
definition
into clc/lib/generic/math/clc_sincos_helpers.cl. It makes sense to put
all sin/cos helpers definitions in one file clc_sincos_helpers.cl.</pre>
</div>
</content>
</entry>
<entry>
<title>[libclc] Change libclc install dir to ${clang_resource_dir}/lib/libclc in in-tree build (#163896)</title>
<updated>2025-10-20T01:47:00+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-20T01:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b9e2f7ac0489b2045aa78475e9663c2d3e5bedf7'/>
<id>b9e2f7ac0489b2045aa78475e9663c2d3e5bedf7</id>
<content type='text'>
Commit df7473673214b placed libclc libraries into clang resource dir
&lt;resource-dir&gt;/lib/libclc at build stage.
This PR does it at install stage as well.
Note that in standalone (not in-tree) build, libclc is still installed
to old ${CMAKE_INSTALL_DATADIR}/clc dir.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit df7473673214b placed libclc libraries into clang resource dir
&lt;resource-dir&gt;/lib/libclc at build stage.
This PR does it at install stage as well.
Note that in standalone (not in-tree) build, libclc is still installed
to old ${CMAKE_INSTALL_DATADIR}/clc dir.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC][libclc] Add missing evaluation for variable ${tool}_target (#163540)</title>
<updated>2025-10-16T01:40:09+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-16T01:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=754ebc6ebb9fb9fbee7aef33478c74ea74949853'/>
<id>754ebc6ebb9fb9fbee7aef33478c74ea74949853</id>
<content type='text'>
The variabls should be evaluated before checking for empty.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variabls should be evaluated before checking for empty.</pre>
</div>
</content>
</entry>
<entry>
<title>[libclc] Remove -fno-builtin from compile options (#162075)</title>
<updated>2025-10-07T00:14:54+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2025-10-07T00:14:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=64574d3564fc2b4d3ec812a57a414f67558c26e4'/>
<id>64574d3564fc2b4d3ec812a57a414f67558c26e4</id>
<content type='text'>
The flag was added in 8ef48d07efa3 to suppress build warning and is no
longer needed.

It adds "no-builtins" attribute, which prevents libclc functions from
being inlined into caller that don't have the attribute.

The flag is meant to prevent folding standard library calls into
optimized implementations. For libclc device targets, however, such
target‑driven folding is desirable.

llvm-diff shows no change to amdgcn--amdhsa.bc and nvptx--nvidiacl.bc.

Co-authored-by: Mészáros Gergely &lt;gergely.meszaros@intel.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The flag was added in 8ef48d07efa3 to suppress build warning and is no
longer needed.

It adds "no-builtins" attribute, which prevents libclc functions from
being inlined into caller that don't have the attribute.

The flag is meant to prevent folding standard library calls into
optimized implementations. For libclc device targets, however, such
target‑driven folding is desirable.

llvm-diff shows no change to amdgcn--amdhsa.bc and nvptx--nvidiacl.bc.

Co-authored-by: Mészáros Gergely &lt;gergely.meszaros@intel.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>libclc: Add gfx1250 and gfx1251 to amdgpu target list (#162034)</title>
<updated>2025-10-06T01:56:17+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-10-06T01:56:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6f3d765d04041412e9801187eb261253c3ceb2a1'/>
<id>6f3d765d04041412e9801187eb261253c3ceb2a1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
