<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/CodeGen/AMDGPU/opencl-printf.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>AMDGPU: Replace ptr addrspace(4) undef uses with poison in tests (#131095)</title>
<updated>2025-03-14T02:47:54+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-03-14T02:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ad993687b1a624b0ee9326aa2e88c4efe165e5fc'/>
<id>ad993687b1a624b0ee9326aa2e88c4efe165e5fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Replace ptr undef in tests with poison (#131050)</title>
<updated>2025-03-13T06:34:52+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-03-13T06:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7811075b6f667d9a92038fce48262c55327c10d0'/>
<id>7811075b6f667d9a92038fce48262c55327c10d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ConstantFold] Remove notional over-indexing fold (#93697)</title>
<updated>2024-05-30T06:36:44+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2024-05-30T06:36:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d10b76552f919ddb84347ab03908a55804ea6b8a'/>
<id>d10b76552f919ddb84347ab03908a55804ea6b8a</id>
<content type='text'>
The data-layout independent constant folding currently has some rather
gnarly code for canonicalizing GEP indices to reduce "notional
overindexing", and then infers inbounds based on that canonicalization.

Now that we canonicalize to i8 GEPs, this canonicalization is
essentially useless, as we'll discard it as soon as the GEP hits the
data-layout aware constant folder anyway. As such, I'd like to remove
this code entirely.

This shouldn't have any impact on optimization capabilities.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The data-layout independent constant folding currently has some rather
gnarly code for canonicalizing GEP indices to reduce "notional
overindexing", and then infers inbounds based on that canonicalization.

Now that we canonicalize to i8 GEPs, this canonicalization is
essentially useless, as we'll discard it as soon as the GEP hits the
data-layout aware constant folder anyway. As such, I'd like to remove
this code entirely.

This shouldn't have any impact on optimization capabilities.</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Convert tests to opaque pointers (NFC)</title>
<updated>2024-02-05T11:42:23+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2024-02-05T11:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=00a4e248dc65d3a60fd900b342d4ba410bf70af0'/>
<id>00a4e248dc65d3a60fd900b342d4ba410bf70af0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[opt] Infer DataLayout from triple if not specified</title>
<updated>2023-10-26T19:07:37+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>alexrichardson@google.com</email>
</author>
<published>2023-10-25T22:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e39f6c1844fab59c638d8059a6cf139adb42279a'/>
<id>e39f6c1844fab59c638d8059a6cf139adb42279a</id>
<content type='text'>
There are many tests that specify a target triple/CPU flags but no
DataLayout which can lead to IR being generated that has unusual
behaviour. This commit attempts to use the default DataLayout based
on the relevant flags if there is no explicit override on the command
line or in the IR file.

One thing that is not currently possible to differentiate from a missing
datalayout `target datalayout = ""` in the IR file since the current
APIs don't allow detecting this case. If it is considered useful to
support this case (instead of passing "-data-layout=" on the command
line), I can change IR parsers to track whether they have seen such a
directive and change the callback type.

Differential Revision: https://reviews.llvm.org/D141060
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are many tests that specify a target triple/CPU flags but no
DataLayout which can lead to IR being generated that has unusual
behaviour. This commit attempts to use the default DataLayout based
on the relevant flags if there is no explicit override on the command
line or in the IR file.

One thing that is not currently possible to differentiate from a missing
datalayout `target datalayout = ""` in the IR file since the current
APIs don't allow detecting this case. If it is considered useful to
support this case (instead of passing "-data-layout=" on the command
line), I can change IR parsers to track whether they have seen such a
directive and change the callback type.

Differential Revision: https://reviews.llvm.org/D141060
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Don't insert pointer bitcasts for printf lowering</title>
<updated>2023-01-29T01:49:10+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2023-01-06T23:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=68d46567228549c4cbd7fee517dcc602533b35a3'/>
<id>68d46567228549c4cbd7fee517dcc602533b35a3</id>
<content type='text'>
Cleanup leftover typed pointer handling.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cleanup leftover typed pointer handling.
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Use getConstantStringInfo for printf format strings</title>
<updated>2023-01-13T19:11:37+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2023-01-06T19:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0d87732a1fccc111baf241a78c22634e7f3880e8'/>
<id>0d87732a1fccc111baf241a78c22634e7f3880e8</id>
<content type='text'>
Tolerated printf format strings that are indexed globals and fixes
asserting on non-null terminated strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tolerated printf format strings that are indexed globals and fixes
asserting on non-null terminated strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Some printf call edge case tests</title>
<updated>2023-01-13T17:32:04+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2023-01-10T22:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=689207e7edc9f2c6e48c611d9a12156c6d398aa3'/>
<id>689207e7edc9f2c6e48c611d9a12156c6d398aa3</id>
<content type='text'>
Check printf printing printf, and printf passed to a function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check printf printing printf, and printf passed to a function.
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Don't assert on printf of half</title>
<updated>2023-01-10T19:13:23+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2023-01-07T00:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4682039db0728dee5747246c371870750ba6c267'/>
<id>4682039db0728dee5747246c371870750ba6c267</id>
<content type='text'>
The comment says fields should be 4-byte aligned, so just pass through
after conversion to integer. The conformance test lacks any testing of
half.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The comment says fields should be 4-byte aligned, so just pass through
after conversion to integer. The conformance test lacks any testing of
half.
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Fix opaque pointer and other bugs in printf of constant strings</title>
<updated>2023-01-10T18:39:44+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2023-01-06T19:02:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fdda800ba35e435db45475c404b995de2d5ecbb8'/>
<id>fdda800ba35e435db45475c404b995de2d5ecbb8</id>
<content type='text'>
Strip pointer casts to get to the global. Fixes not respecting indexed
constant strings. Tolerate non-null terminated and empty strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Strip pointer casts to get to the global. Fixes not respecting indexed
constant strings. Tolerate non-null terminated and empty strings.
</pre>
</div>
</content>
</entry>
</feed>
