<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/AST/ByteCode/builtin-functions.cpp, branch users/mingmingl-llvm/samplefdo-profile-format</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>[Clang] Support generic bit counting builtins on fixed boolean vectors (#154203)</title>
<updated>2025-08-26T13:35:10+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-08-26T13:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=62ac4e30145a04295c0f8f36c17dc9abb7906364'/>
<id>62ac4e30145a04295c0f8f36c17dc9abb7906364</id>
<content type='text'>
Summary:
Boolean vectors as implemented in clang can be bit-casted to an integer
that is rounded up to the next primitive sized integer. Users can do
this themselves, but since the counting bits are very likely to be used
with bitmasks like this and the generic forms are expected to be
generic it seems reasonable that we handle this case directly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Boolean vectors as implemented in clang can be bit-casted to an integer
that is rounded up to the next primitive sized integer. Users can do
this themselves, but since the counting bits are very likely to be used
with bitmasks like this and the generic forms are expected to be
generic it seems reasonable that we handle this case directly.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Disable EndLifetime op for array elements (#154119)</title>
<updated>2025-08-18T14:32:50+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-18T14:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8f0da9b8bd342f200a8b97cb19c2ca1588175299'/>
<id>8f0da9b8bd342f200a8b97cb19c2ca1588175299</id>
<content type='text'>
This breaks a ton of libc++ tests otherwise, since calling
std::destroy_at will currently end the lifetime of the entire array not
just the given element.

See https://github.com/llvm/llvm-project/issues/147528</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This breaks a ton of libc++ tests otherwise, since calling
std::destroy_at will currently end the lifetime of the entire array not
just the given element.

See https://github.com/llvm/llvm-project/issues/147528</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix pseudo dtor calls on non-pointers (#153970)</title>
<updated>2025-08-17T06:47:57+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-17T06:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e44784fb44bd00acc0ecd25537a359c3a1df8f17'/>
<id>e44784fb44bd00acc0ecd25537a359c3a1df8f17</id>
<content type='text'>
The isGLValue() check made us ignore expressions we shouldn't ignore.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The isGLValue() check made us ignore expressions we shouldn't ignore.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Diagnose incomplete types more consistently (#153368)</title>
<updated>2025-08-13T08:40:21+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-13T08:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=56131e3959de744e994a0a9409b079cab3c549a7'/>
<id>56131e3959de744e994a0a9409b079cab3c549a7</id>
<content type='text'>
To match the diagnostics of the current interpreter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To match the diagnostics of the current interpreter.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix __builtin_is_within_lifetime in initializers (#147480)</title>
<updated>2025-07-08T15:17:15+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-07-08T15:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5cefb9a367c80a69a6d80956bf8822ee0e5dd766'/>
<id>5cefb9a367c80a69a6d80956bf8822ee0e5dd766</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix a crash in overflow builtins (#147189)</title>
<updated>2025-07-06T14:42:06+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-07-06T14:42:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ec9eefcef560e4ea5b5d8ee6ed9cc6ef8c1f274c'/>
<id>ec9eefcef560e4ea5b5d8ee6ed9cc6ef8c1f274c</id>
<content type='text'>
Only initialize pointers that can be initialized.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only initialize pointers that can be initialized.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix assignInteger() with allocated primtypes (#145302)</title>
<updated>2025-06-23T12:43:11+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-06-23T12:43:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=23ba0fdbfc2a240ca5ddcc7f71c7383437c00aaa'/>
<id>23ba0fdbfc2a240ca5ddcc7f71c7383437c00aaa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "Reapply "[clang][bytecode] Allocate IntegralAP and Floating … (#145014)</title>
<updated>2025-06-20T16:06:01+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-06-20T16:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=32fc625a3fa27fa325c75b0fc841db4ce8e06805'/>
<id>32fc625a3fa27fa325c75b0fc841db4ce8e06805</id>
<content type='text'>
…types usi… (#144676)"

This reverts commit 68471d29eed2c49f9b439e505b3f24d387d54f97.

IntegralAP contains a union:
  union {
    uint64_t *Memory = nullptr;
    uint64_t Val;
  };

On 64bit systems, both Memory and Val have the same size. However, on 32
bit system, Val is 64bit and Memory only 32bit. Which means the default
initializer for Memory will only zero half of Val. We fixed this by
zero-initializing Val explicitly in the IntegralAP(unsigned BitWidth)
constructor.


See also the discussion in
https://github.com/llvm/llvm-project/pull/144246</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…types usi… (#144676)"

This reverts commit 68471d29eed2c49f9b439e505b3f24d387d54f97.

IntegralAP contains a union:
  union {
    uint64_t *Memory = nullptr;
    uint64_t Val;
  };

On 64bit systems, both Memory and Val have the same size. However, on 32
bit system, Val is 64bit and Memory only 32bit. Which means the default
initializer for Memory will only zero half of Val. We fixed this by
zero-initializing Val explicitly in the IntegralAP(unsigned BitWidth)
constructor.


See also the discussion in
https://github.com/llvm/llvm-project/pull/144246</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Reapply "[clang][bytecode] Allocate IntegralAP and Floating types usi… (#144676)"</title>
<updated>2025-06-18T13:17:53+00:00</updated>
<author>
<name>Timm Bäder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-06-18T13:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=68471d29eed2c49f9b439e505b3f24d387d54f97'/>
<id>68471d29eed2c49f9b439e505b3f24d387d54f97</id>
<content type='text'>
This reverts commit 7c15edb306932e41c159f3d69c161ed0d89d47b7.

This still breaks clang-armv8-quick:
https://lab.llvm.org/buildbot/#/builders/154/builds/17587
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7c15edb306932e41c159f3d69c161ed0d89d47b7.

This still breaks clang-armv8-quick:
https://lab.llvm.org/buildbot/#/builders/154/builds/17587
</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "[clang][bytecode] Allocate IntegralAP and Floating types usi… (#144676)</title>
<updated>2025-06-18T12:37:29+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-06-18T12:37:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7c15edb306932e41c159f3d69c161ed0d89d47b7'/>
<id>7c15edb306932e41c159f3d69c161ed0d89d47b7</id>
<content type='text'>
…ng an allocator (#144246)"

This reverts commit 57828fec760f086b334ce0cb1c465fc559dcaea4.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
…ng an allocator (#144246)"

This reverts commit 57828fec760f086b334ce0cb1c465fc559dcaea4.</pre>
</div>
</content>
</entry>
</feed>
