<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/CodeGen/SPIRV/pointers/getelementptr-downcast-vector.ll, 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>[SPIR-V] Add store legalization for ptrcast (#135369)</title>
<updated>2025-04-22T09:58:55+00:00</updated>
<author>
<name>Nathan Gauër</name>
<email>brioche@google.com</email>
</author>
<published>2025-04-22T09:58:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c1940cd0deef84c9cbbf6966d956b8fef4519efa'/>
<id>c1940cd0deef84c9cbbf6966d956b8fef4519efa</id>
<content type='text'>
This commits adds handling for spv.ptrcast result being used in a store
instruction, modifying the store to operate on the source type.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commits adds handling for spv.ptrcast result being used in a store
instruction, modifying the store to operate on the source type.</pre>
</div>
</content>
</entry>
<entry>
<title>[SPIR-V] Fix OpVectorShuffle operands on load (#135954)</title>
<updated>2025-04-22T09:07:02+00:00</updated>
<author>
<name>Nathan Gauër</name>
<email>brioche@google.com</email>
</author>
<published>2025-04-22T09:07:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d8b0e616b746a6c7bdd0492f2f349105028684b0'/>
<id>d8b0e616b746a6c7bdd0492f2f349105028684b0</id>
<content type='text'>
The generated OpVectorShuffle was wrong, as the indices we pass are not
to select the vector to sample from, but the position in the vector.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The generated OpVectorShuffle was wrong, as the indices we pass are not
to select the vector to sample from, but the position in the vector.</pre>
</div>
</content>
</entry>
<entry>
<title>[SPIR-V] Add pass to remove spv_ptrcast intrinsics (#128896)</title>
<updated>2025-03-04T09:30:46+00:00</updated>
<author>
<name>Nathan Gauër</name>
<email>brioche@google.com</email>
</author>
<published>2025-03-04T09:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c8b1275bc87f6b5983788a6e603504725b490c9'/>
<id>7c8b1275bc87f6b5983788a6e603504725b490c9</id>
<content type='text'>
OpenCL is allowed to cast pointers, meaning they can resolve some type
mismatches this way. In logical SPIR-V, those are restricted. This new
pass legalizes such pointer cast when targeting logical SPIR-V.

For now, this pass supports 3 cases we witnessed:
 - loading a vec3 from a vec4*.
 - loading a scalar from a vec*.
 - loading the 1st element of an array.

---------

Co-authored-by: Steven Perron &lt;stevenperron@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OpenCL is allowed to cast pointers, meaning they can resolve some type
mismatches this way. In logical SPIR-V, those are restricted. This new
pass legalizes such pointer cast when targeting logical SPIR-V.

For now, this pass supports 3 cases we witnessed:
 - loading a vec3 from a vec4*.
 - loading a scalar from a vec*.
 - loading the 1st element of an array.

---------

Co-authored-by: Steven Perron &lt;stevenperron@google.com&gt;</pre>
</div>
</content>
</entry>
</feed>
