<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.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>[AMDGPU] Convert 64-bit sra to 32-bit if shift amt &gt;= 32 (#144421)</title>
<updated>2025-06-26T18:22:59+00:00</updated>
<author>
<name>LU-JOHN</name>
<email>John.Lu@amd.com</email>
</author>
<published>2025-06-26T18:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f2991bf791091967259d1235604534bcef73612c'/>
<id>f2991bf791091967259d1235604534bcef73612c</id>
<content type='text'>
Use KnownBits to convert 64-bit sra to 32-bit sra.

Scaled-down alive2 verification with 16/8-bit types:
https://alive2.llvm.org/ce/z/LamASk

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use KnownBits to convert 64-bit sra to 32-bit sra.

Scaled-down alive2 verification with 16/8-bit types:
https://alive2.llvm.org/ce/z/LamASk

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Use reportFatalUsageError for unhandled calling conventions (#145261)</title>
<updated>2025-06-23T06:30:13+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-06-23T06:30:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4be4b82e74f1b06f18efd1c6be3582daba2e6739'/>
<id>4be4b82e74f1b06f18efd1c6be3582daba2e6739</id>
<content type='text'>
Should switch this to DiagnosticInfo and use the default calling
convention, but that would require passing in the context.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should switch this to DiagnosticInfo and use the default calling
convention, but that would require passing in the context.</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Remove AMDGPUInstrInfo class (#144984)</title>
<updated>2025-06-20T09:26:56+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-06-20T09:26:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dd4776d429bd20050c80749f669367a0574520c8'/>
<id>dd4776d429bd20050c80749f669367a0574520c8</id>
<content type='text'>
This was never constructed and only provided one static helper
function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was never constructed and only provided one static helper
function.</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Convert more 64-bit lshr to 32-bit if shift amt&gt;=32 (#138204)</title>
<updated>2025-06-13T08:03:06+00:00</updated>
<author>
<name>LU-JOHN</name>
<email>John.Lu@amd.com</email>
</author>
<published>2025-06-13T08:03:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c4caf00bfbf10caa88f1c46a561564b4f0f723af'/>
<id>c4caf00bfbf10caa88f1c46a561564b4f0f723af</id>
<content type='text'>
Convert vector 64-bit lshr to 32-bit if shift amt is known to be &gt;= 32.
Also convert scalar 64-bit lshr to 32-bit if shift amt is variable but
known to be &gt;=32.

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert vector 64-bit lshr to 32-bit if shift amt is known to be &gt;= 32.
Also convert scalar 64-bit lshr to 32-bit if shift amt is variable but
known to be &gt;=32.

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Extend SRA i64 simplification for shift amts in range [33:62] (#138913)</title>
<updated>2025-05-30T14:21:38+00:00</updated>
<author>
<name>LU-JOHN</name>
<email>John.Lu@amd.com</email>
</author>
<published>2025-05-30T14:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f88a9a32d9957bd0cd1877676447c822741f495a'/>
<id>f88a9a32d9957bd0cd1877676447c822741f495a</id>
<content type='text'>
Extend sra i64 simplification to shift constants in range [33:62]. Shift
amounts 32 and 63 were already handled.
New testing for shift amts 33 and 62 added in sra.ll. Changes to other
test files were to adapt previous test results to this extension.

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend sra i64 simplification to shift constants in range [33:62]. Shift
amounts 32 and 63 were already handled.
New testing for shift amts 33 and 62 added in sra.ll. Changes to other
test files were to adapt previous test results to this extension.

---------

Signed-off-by: John Lu &lt;John.Lu@amd.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Warn on misuse of DiagnosticInfo classes that hold Twines (#137397)</title>
<updated>2025-05-28T19:26:39+00:00</updated>
<author>
<name>Justin Bogner</name>
<email>mail@justinbogner.com</email>
</author>
<published>2025-05-28T19:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b7bb2567032f2264715234bcd8ddf55414d99b5d'/>
<id>b7bb2567032f2264715234bcd8ddf55414d99b5d</id>
<content type='text'>
This annotates the `Twine` passed to the constructors of the various
DiagnosticInfo subclasses with `[[clang::lifetimebound]]`, which causes
us to warn when we would try to print the twine after it had already
been destructed.

We also update `DiagnosticInfoUnsupported` to hold a `const Twine &amp;`
like all of the other DiagnosticInfo classes, since this warning allows
us to clean up all of the places where it was being used incorrectly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This annotates the `Twine` passed to the constructors of the various
DiagnosticInfo subclasses with `[[clang::lifetimebound]]`, which causes
us to warn when we would try to print the twine after it had already
been destructed.

We also update `DiagnosticInfoUnsupported` to hold a `const Twine &amp;`
like all of the other DiagnosticInfo classes, since this warning allows
us to clean up all of the places where it was being used incorrectly.</pre>
</div>
</content>
</entry>
<entry>
<title>[AMDGPU] Handle min/max in isNarrowingProfitable (#140206)</title>
<updated>2025-05-16T08:16:44+00:00</updated>
<author>
<name>Pierre van Houtryve</name>
<email>pierre.vanhoutryve@amd.com</email>
</author>
<published>2025-05-16T08:16:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fd85ffb4c43be80c179145a382d78a7c9ca3c1b7'/>
<id>fd85ffb4c43be80c179145a382d78a7c9ca3c1b7</id>
<content type='text'>
Introduces a slight regression in some cases but it'll even out once we
disable the promotion in CGP.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduces a slight regression in some cases but it'll even out once we
disable the promotion in CGP.</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Use poison instead of undef in more lowerings (#139208)</title>
<updated>2025-05-09T16:18:11+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-05-09T16:18:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=797a580b6a1e42d7c76aaa04ba33d24d06a7f8c0'/>
<id>797a580b6a1e42d7c76aaa04ba33d24d06a7f8c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU: Handle minimumnum/maximumnum in fneg combines (#139133)</title>
<updated>2025-05-09T06:07:01+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-05-09T06:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=912df60b08f6cbeaa1a5a27f7bc3628726842885'/>
<id>912df60b08f6cbeaa1a5a27f7bc3628726842885</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>AMDGPU][True16][CodeGen] FP_Round f64 to f16 in true16 (#128911)</title>
<updated>2025-05-08T17:30:09+00:00</updated>
<author>
<name>Brox Chen</name>
<email>guochen2@amd.com</email>
</author>
<published>2025-05-08T17:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9d907a2bb1d2ce67ae4d203218df380a45abaf30'/>
<id>9d907a2bb1d2ce67ae4d203218df380a45abaf30</id>
<content type='text'>
Update the f64 to f16 lowering for targets which support f16 types. 

For unsafe mode, lowered to two FP_ROUND. (This patch
https://reviews.llvm.org/D154528 stops from combining these two FP_ROUND
back). In safe mode, select LowerF64ToF16 (round-to-nearest-even
rounding mode)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the f64 to f16 lowering for targets which support f16 types. 

For unsafe mode, lowered to two FP_ROUND. (This patch
https://reviews.llvm.org/D154528 stops from combining these two FP_ROUND
back). In safe mode, select LowerF64ToF16 (round-to-nearest-even
rounding mode)</pre>
</div>
</content>
</entry>
</feed>
