<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.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>InferAddressSpaces: Replace undef with poison in tests (#130083)</title>
<updated>2025-03-06T16:20:46+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2025-03-06T16:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=15ba2ce7ac9ba2f827271c8fe93f6f3e8219f734'/>
<id>15ba2ce7ac9ba2f827271c8fe93f6f3e8219f734</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[InferAddressSpaces] collect flat address expression from return value (#70610)</title>
<updated>2023-11-01T05:32:38+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2023-11-01T05:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d199ff17659fc65a9b1b4ebe2d304cdbfdfe89d7'/>
<id>d199ff17659fc65a9b1b4ebe2d304cdbfdfe89d7</id>
<content type='text'>
If function return value's type is pointer, we can try to collect flat
address expression from it.
This PR also fixes noop_ptrint_pair_ce2 in noop-ptrint-pair.ll in #70611</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If function return value's type is pointer, we can try to collect flat
address expression from it.
This PR also fixes noop_ptrint_pair_ce2 in noop-ptrint-pair.ll in #70611</pre>
</div>
</content>
</entry>
<entry>
<title>[ConstExpr] Remove select constant expression</title>
<updated>2023-03-16T09:32:08+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2023-03-06T09:46:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e'/>
<id>bbfb13a5ffbccf1759ca6b75262a3ffdbe20496e</id>
<content type='text'>
This removes the select constant expression, as part of
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179.
Uses of this expressions have already been removed in advance,
so this just removes related infrastructure and updates tests.

Differential Revision: https://reviews.llvm.org/D145382
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the select constant expression, as part of
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179.
Uses of this expressions have already been removed in advance,
so this just removes related infrastructure and updates tests.

Differential Revision: https://reviews.llvm.org/D145382
</pre>
</div>
</content>
</entry>
<entry>
<title>InferAddressSpaces: Switch tests to use opt -passes</title>
<updated>2022-11-28T01:26:16+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2022-11-28T01:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5651af896c3df30da9edd101b1fb17c00de6636d'/>
<id>5651af896c3df30da9edd101b1fb17c00de6636d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>InferAddressSpaces: Convert tests to opaque pointers</title>
<updated>2022-11-28T01:26:16+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2022-11-28T01:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a982f095677cf1834d981e92efdddd0b36accd67'/>
<id>a982f095677cf1834d981e92efdddd0b36accd67</id>
<content type='text'>
Had constantexprs be mangled by the opaquify script; had to update
those lines manually:
  NVPTX/bug31948.ll
  AMDGPU/old-pass-regressions.ll
  AMDGPU/old-pass-regressions-inseltpoison.ll
  AMDGPU/infer-address-space.ll

Required re-reunning update_test_checks:
  AMDGPU/redundant-addrspacecast.ll

In AMDGPU/insert-pos-assert.ll, bitcast_insert_pos_assert_2 deleted a
getelementptr of 0 which I'm guessing was relevant. Replaced with an
offset 1 GEP to ensure another addrspacecast is inserted.

AMDGPU/infer-getelementptr.ll had one case improve by introducing an
inbounds.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Had constantexprs be mangled by the opaquify script; had to update
those lines manually:
  NVPTX/bug31948.ll
  AMDGPU/old-pass-regressions.ll
  AMDGPU/old-pass-regressions-inseltpoison.ll
  AMDGPU/infer-address-space.ll

Required re-reunning update_test_checks:
  AMDGPU/redundant-addrspacecast.ll

In AMDGPU/insert-pos-assert.ll, bitcast_insert_pos_assert_2 deleted a
getelementptr of 0 which I'm guessing was relevant. Replaced with an
offset 1 GEP to ensure another addrspacecast is inserted.

AMDGPU/infer-getelementptr.ll had one case improve by introducing an
inbounds.
</pre>
</div>
</content>
</entry>
<entry>
<title>Recommit "[InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms" and its follow up patches</title>
<updated>2020-08-12T17:45:27+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@intel.com</email>
</author>
<published>2020-08-12T17:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a7a06ded8b0635268b5db218b3aca0b5b2bfb04a'/>
<id>a7a06ded8b0635268b5db218b3aca0b5b2bfb04a</id>
<content type='text'>
This recommits the following patches now that D85684 has landed

1cf6f210a2e [IR] Disable select ? C : undef -&gt; C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
469da663f2d [InstSimplify] Re-enable select ?, undef, X -&gt; X transform when X is provably not poison
122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison
ac0af12ed2f [InstSimplify] Add test cases for opportunities to fold select ?, X, undef -&gt; X when we can prove X isn't poison
9b1e95329af [InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This recommits the following patches now that D85684 has landed

1cf6f210a2e [IR] Disable select ? C : undef -&gt; C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
469da663f2d [InstSimplify] Re-enable select ?, undef, X -&gt; X transform when X is provably not poison
122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison
ac0af12ed2f [InstSimplify] Add test cases for opportunities to fold select ?, X, undef -&gt; X when we can prove X isn't poison
9b1e95329af [InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms" and subsequent patches</title>
<updated>2020-07-16T05:02:33+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@intel.com</email>
</author>
<published>2020-07-16T03:15:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=00f3579aea6e3d4a4b7464c3db47294f71cef9e4'/>
<id>00f3579aea6e3d4a4b7464c3db47294f71cef9e4</id>
<content type='text'>
This reverts most of the following patches due to reports of miscompiles.
I've left the added test cases with comments updated to be FIXMEs.

1cf6f210a2e [IR] Disable select ? C : undef -&gt; C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
469da663f2d [InstSimplify] Re-enable select ?, undef, X -&gt; X transform when X is provably not poison
122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison
ac0af12ed2f [InstSimplify] Add test cases for opportunities to fold select ?, X, undef -&gt; X when we can prove X isn't poison
9b1e95329af [InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts most of the following patches due to reports of miscompiles.
I've left the added test cases with comments updated to be FIXMEs.

1cf6f210a2e [IR] Disable select ? C : undef -&gt; C fold in ConstantFoldSelectInstruction unless we know C isn't poison.
469da663f2d [InstSimplify] Re-enable select ?, undef, X -&gt; X transform when X is provably not poison
122b0640fc9 [InstSimplify] Don't fold vectors of partial undef in SimplifySelectInst if the non-undef element value might produce poison
ac0af12ed2f [InstSimplify] Add test cases for opportunities to fold select ?, X, undef -&gt; X when we can prove X isn't poison
9b1e95329af [InstSimplify] Remove select ?, undef, X -&gt; X and select ?, X, undef -&gt; X transforms
</pre>
</div>
</content>
</entry>
<entry>
<title>[IR] Disable select ? C : undef -&gt; C fold in ConstantFoldSelectInstruction unless we know C isn't poison.</title>
<updated>2020-07-10T17:42:25+00:00</updated>
<author>
<name>Craig Topper</name>
<email>craig.topper@intel.com</email>
</author>
<published>2020-07-10T17:41:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c'/>
<id>1cf6f210a2ed87dcda2183fffd6f9aa17b5c493c</id>
<content type='text'>
This matches the recent change to InstSimplify from D83440.

Differential Revision: https://reviews.llvm.org/D83535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the recent change to InstSimplify from D83440.

Differential Revision: https://reviews.llvm.org/D83535
</pre>
</div>
</content>
</entry>
<entry>
<title>InferAddressSpaces: Fix cloning original addrspacecast</title>
<updated>2019-06-17T14:13:29+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2019-06-17T14:13:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1df203d78e478bea989736fd9f1657adea70db0d'/>
<id>1df203d78e478bea989736fd9f1657adea70db0d</id>
<content type='text'>
If an addrspacecast needed to be inserted again, this was creating a
clone of the original cast for each user. Just use the original, which
also saves losing the value name.

llvm-svn: 363562
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an addrspacecast needed to be inserted again, this was creating a
clone of the original cast for each user. Just use the original, which
also saves losing the value name.

llvm-svn: 363562
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Temporarily Revert "Add basic loop fusion pass.""</title>
<updated>2019-04-17T04:52:47+00:00</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2019-04-17T04:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cee313d288a4faf0355d76fb6e0e927e211d08a5'/>
<id>cee313d288a4faf0355d76fb6e0e927e211d08a5</id>
<content type='text'>
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
</pre>
</div>
</content>
</entry>
</feed>
