<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/unittests/Transforms/Utils/ValueMapperTest.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>[PAC] Make ValueMapper handle ConstantPtrAuth values (#129088)</title>
<updated>2025-02-28T20:48:01+00:00</updated>
<author>
<name>Anatoly Trosinenko</name>
<email>atrosinenko@accesssoftek.com</email>
</author>
<published>2025-02-28T20:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=88ae5bd13b1206871f6639b18f1fde03f2ca7adc'/>
<id>88ae5bd13b1206871f6639b18f1fde03f2ca7adc</id>
<content type='text'>
Fix assertion failure when building PAuth-hardened code with LTO. W/o assertions we end with invalid codegen.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix assertion failure when building PAuth-hardened code with LTO. W/o assertions we end with invalid codegen.</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] Map VAM args to `poison` instead of `undef` [NFC] (#122756)</title>
<updated>2025-01-13T21:38:40+00:00</updated>
<author>
<name>Pedro Lobo</name>
<email>pedro.lobo@tecnico.ulisboa.pt</email>
</author>
<published>2025-01-13T21:38:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7e191038957cf5e22da55ba577ce6e033236b05f'/>
<id>7e191038957cf5e22da55ba577ce6e033236b05f</id>
<content type='text'>
If an argument cannot be mapped in `Mapper::mapValue`, it can be mapped
to `poison` instead of `undef`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an argument cannot be mapped in `Mapper::mapValue`, it can be mapped
to `poison` instead of `undef`.</pre>
</div>
</content>
</entry>
<entry>
<title>[unittests] Use {} instead of std::nullopt to initialize empty ArrayRef (#109388)</title>
<updated>2024-09-21T09:59:50+00:00</updated>
<author>
<name>Jay Foad</name>
<email>jay.foad@amd.com</email>
</author>
<published>2024-09-21T09:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eb6e7e8f89a3d5c1cbc9856774ca00208753fb12'/>
<id>eb6e7e8f89a3d5c1cbc9856774ca00208753fb12</id>
<content type='text'>
Follow up to #109133.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up to #109133.</pre>
</div>
</content>
</entry>
<entry>
<title>[IR] Disallow ZeroInit for spirv.Image (#73887)</title>
<updated>2023-12-19T05:54:25+00:00</updated>
<author>
<name>Wenju He</name>
<email>wenju.he@intel.com</email>
</author>
<published>2023-12-19T05:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=108989b7176651d7a0f3161a7baba588f7c4ea52'/>
<id>108989b7176651d7a0f3161a7baba588f7c4ea52</id>
<content type='text'>
According to spirv spec, OpConstantNull's result type can't be image
type. So we can't generate zeroinitializer for spirv.Image.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to spirv spec, OpConstantNull's result type can't be image
type. So we can't generate zeroinitializer for spirv.Image.</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Drop some bitcasts and references related to typed pointers</title>
<updated>2023-08-10T13:07:07+00:00</updated>
<author>
<name>Bjorn Pettersson</name>
<email>bjorn.a.pettersson@ericsson.com</email>
</author>
<published>2023-08-08T22:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e53b28c8330102bf21ac717ade2bfac9b1f09517'/>
<id>e53b28c8330102bf21ac717ade2bfac9b1f09517</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D157551
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D157551
</pre>
</div>
</content>
</entry>
<entry>
<title>[ValueMapper] allow mapping ConstantTargetNone to its layout type</title>
<updated>2023-04-25T07:48:28+00:00</updated>
<author>
<name>Bing1 Yu</name>
<email>bing1.yu@intel.com</email>
</author>
<published>2023-04-25T07:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c2f29f24c2997952b080ce5b0a5301408d932d28'/>
<id>c2f29f24c2997952b080ce5b0a5301408d932d28</id>
<content type='text'>
zeroinitializer is allowed for spirv TargetExtType.
This PR allows ValueMapper to map TargetExtType ConstantTargetNone to '0' constant of its layout type.

Reviewed By: jcranmer-intel

Differential Revision: https://reviews.llvm.org/D148774
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
zeroinitializer is allowed for spirv TargetExtType.
This PR allows ValueMapper to map TargetExtType ConstantTargetNone to '0' constant of its layout type.

Reviewed By: jcranmer-intel

Differential Revision: https://reviews.llvm.org/D148774
</pre>
</div>
</content>
</entry>
<entry>
<title>[ValueMapper] Preserve poison types during value mapping</title>
<updated>2023-03-06T05:21:09+00:00</updated>
<author>
<name>Carl Ritson</name>
<email>carl.ritson@amd.com</email>
</author>
<published>2023-03-06T02:36:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8e1038bd159638aa354144c76a07cbc1399b04dc'/>
<id>8e1038bd159638aa354144c76a07cbc1399b04dc</id>
<content type='text'>
Poison needs to be treated directly during type remap otherwise
it will be considered an instance of undef.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D145317
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Poison needs to be treated directly during type remap otherwise
it will be considered an instance of undef.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D145317
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm/unittests] Use std::nullopt instead of None (NFC)</title>
<updated>2022-12-03T06:10:37+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2022-12-03T06:10:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b6a01caa64aaac2e5db8d7953a81cbe1a139b81f'/>
<id>b6a01caa64aaac2e5db8d7953a81cbe1a139b81f</id>
<content type='text'>
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch mechanically replaces None with std::nullopt where the
compiler would warn if None were deprecated.  The intent is to reduce
the amount of manual work required in migrating from Optional to
std::optional.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
</pre>
</div>
</content>
</entry>
<entry>
<title>[DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals</title>
<updated>2022-01-17T17:17:32+00:00</updated>
<author>
<name>Stephen Tozer</name>
<email>stephen.tozer@sony.com</email>
</author>
<published>2022-01-17T11:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=32417b32033925b26b3695b753b38fbc6fdcd93d'/>
<id>32417b32033925b26b3695b753b38fbc6fdcd93d</id>
<content type='text'>
This patch fixes an issue in which SSA value reference within a
DIArgList would be unnecessarily dropped by llvm-link, even when
invoking on a single file (which should be a no-op). The reason for the
difference is that the ValueMapper does not refer to the
RF_IgnoreMissingLocals flag for LocalAsMetadata contained within a
DIArgList; this flag is used for direct LocalAsMetadata uses to preserve
SSA references even when the ValueMapper does not have an explicit
mapping for the referenced SSA value, which appears to always be the
case when using llvm-link in this manner.

Differential Revision: https://reviews.llvm.org/D114355
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes an issue in which SSA value reference within a
DIArgList would be unnecessarily dropped by llvm-link, even when
invoking on a single file (which should be a no-op). The reason for the
difference is that the ValueMapper does not refer to the
RF_IgnoreMissingLocals flag for LocalAsMetadata contained within a
DIArgList; this flag is used for direct LocalAsMetadata uses to preserve
SSA references even when the ValueMapper does not have an explicit
mapping for the referenced SSA value, which appears to always be the
case when using llvm-link in this manner.

Differential Revision: https://reviews.llvm.org/D114355
</pre>
</div>
</content>
</entry>
<entry>
<title>ValueMapper: Rename RF_MoveDistinctMDs =&gt; RF_ReuseAndMutateDistinctMDs, NFC</title>
<updated>2021-02-11T00:53:21+00:00</updated>
<author>
<name>Duncan P. N. Exon Smith</name>
<email>dexonsmith@apple.com</email>
</author>
<published>2021-02-10T23:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fa35c1f80f0ea080a7cbc581416929b0a654f25c'/>
<id>fa35c1f80f0ea080a7cbc581416929b0a654f25c</id>
<content type='text'>
Rename the `RF_MoveDistinctMDs` flag passed into `MapValue` and
`MapMetadata` to `RF_ReuseAndMutateDistinctMDs` in order to more
precisely describe its effect and clarify the header documentation.

Found this while helping to investigate PR48841, which pointed out an
unsound use of the flag in `CloneModule()`. For now I've just added a
FIXME there, but I'm hopeful that the new (more precise) name will
prevent other similar errors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename the `RF_MoveDistinctMDs` flag passed into `MapValue` and
`MapMetadata` to `RF_ReuseAndMutateDistinctMDs` in order to more
precisely describe its effect and clarify the header documentation.

Found this while helping to investigate PR48841, which pointed out an
unsound use of the flag in `CloneModule()`. For now I've just added a
FIXME there, but I'm hopeful that the new (more precise) name will
prevent other similar errors.
</pre>
</div>
</content>
</entry>
</feed>
