<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp, branch users/chapuni/cov/single/loop</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>Revert "[clang] Avoid re-evaluating field bitwidth (#117732)"</title>
<updated>2025-01-08T14:09:52+00:00</updated>
<author>
<name>Timm Bäder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-01-08T14:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=59bdea24b09bca9332a7092b583ebf377efb0d50'/>
<id>59bdea24b09bca9332a7092b583ebf377efb0d50</id>
<content type='text'>
This reverts commit 81fc3add1e627c23b7270fe2739cdacc09063e54.

This breaks some LLDB tests, e.g.
SymbolFile/DWARF/x86/no_unique_address-with-bitfields.cpp:

lldb: ../llvm-project/clang/lib/AST/Decl.cpp:4604: unsigned int clang::FieldDecl::getBitWidthValue() const: Assertion `isa&lt;ConstantExpr&gt;(getBitWidth())' failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 81fc3add1e627c23b7270fe2739cdacc09063e54.

This breaks some LLDB tests, e.g.
SymbolFile/DWARF/x86/no_unique_address-with-bitfields.cpp:

lldb: ../llvm-project/clang/lib/AST/Decl.cpp:4604: unsigned int clang::FieldDecl::getBitWidthValue() const: Assertion `isa&lt;ConstantExpr&gt;(getBitWidth())' failed.
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] Avoid re-evaluating field bitwidth (#117732)</title>
<updated>2025-01-08T13:45:19+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-01-08T13:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=81fc3add1e627c23b7270fe2739cdacc09063e54'/>
<id>81fc3add1e627c23b7270fe2739cdacc09063e54</id>
<content type='text'>
Save the bitwidth value as a `ConstantExpr` with the value set. Remove
the `ASTContext` parameter from `getBitWidthValue()`, so the latter
simply returns the value from the `ConstantExpr` instead of
constant-evaluating the bitwidth expression every time it is called.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Save the bitwidth value as a `ConstantExpr` with the value set. Remove
the `ASTContext` parameter from `getBitWidthValue()`, so the latter
simply returns the value from the `ConstantExpr` instead of
constant-evaluating the bitwidth expression every time it is called.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Consider start index when copying composite array (#121461)</title>
<updated>2025-01-02T09:31:49+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-01-02T09:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d5c8af492f2d8620b04330024d46a5f48db546fe'/>
<id>d5c8af492f2d8620b04330024d46a5f48db546fe</id>
<content type='text'>
... elements.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... elements.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Support pointers in __builtin_mem{move,cpy} (#120560)</title>
<updated>2024-12-19T15:38:58+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-19T15:38:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1f2d934525833c4aae5f0436fd99551c776fd246'/>
<id>1f2d934525833c4aae5f0436fd99551c776fd246</id>
<content type='text'>
Unfortunately, that means we can't use the __builtin_bit_cast
implementation for this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately, that means we can't use the __builtin_bit_cast
implementation for this.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix memcmp/bcmp failures on big-endian hosts (#119851)</title>
<updated>2024-12-13T11:19:27+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-13T11:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=30cbd09f4b8f7e94663631f0240d11bb754ea25b'/>
<id>30cbd09f4b8f7e94663631f0240d11bb754ea25b</id>
<content type='text'>
See the discussion in

https://github.com/llvm/llvm-project/pull/119678#issuecomment-2539680746
and
https://github.com/llvm/llvm-project/pull/119544#issuecomment-2539678561</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See the discussion in

https://github.com/llvm/llvm-project/pull/119678#issuecomment-2539680746
and
https://github.com/llvm/llvm-project/pull/119544#issuecomment-2539678561</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Handle __builtin_memcmp (#119544)</title>
<updated>2024-12-12T07:59:35+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-12T07:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8713914d76cb9d6b54278dd75fecb68bb93f6ea5'/>
<id>8713914d76cb9d6b54278dd75fecb68bb93f6ea5</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][NFC] Avoid calling ASTContext::getTypeSize() (#119392)</title>
<updated>2024-12-11T08:45:22+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-11T08:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=74393f3da0c84ac40596ae561269a2bddf72504e'/>
<id>74393f3da0c84ac40596ae561269a2bddf72504e</id>
<content type='text'>
In the case of primitive arrays, we can do this once and reuse the value
for all elements.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of primitive arrays, we can do this once and reuse the value
for all elements.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Check vector element types for eligibility (#119385)</title>
<updated>2024-12-10T16:56:48+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-10T16:56:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0fb06172f14110daa45bed8ae4c153967c9365dc'/>
<id>0fb06172f14110daa45bed8ae4c153967c9365dc</id>
<content type='text'>
Like we do in ExprConstant.cpp.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like we do in ExprConstant.cpp.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Pass (float) BitWidth to DoBitCast (#119119)</title>
<updated>2024-12-08T17:54:08+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-08T17:54:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1fbbf4c418bc4945839a70fe2849cbe6fbcc3d66'/>
<id>1fbbf4c418bc4945839a70fe2849cbe6fbcc3d66</id>
<content type='text'>
In certain cases (i.e. long double on x86), the bit with we get from the
floating point semantics is different than the type size we compute for
the BitCast instruction. Pass this along to DoBitCast, so in there we
can check only the relevant bits for being initialized.

This also fixes a weirdness we still had in DoBitCast.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In certain cases (i.e. long double on x86), the bit with we get from the
floating point semantics is different than the type size we compute for
the BitCast instruction. Pass this along to DoBitCast, so in there we
can check only the relevant bits for being initialized.

This also fixes a weirdness we still had in DoBitCast.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode][NFC] Remove leftover debug output</title>
<updated>2024-12-07T12:56:37+00:00</updated>
<author>
<name>Timm Bäder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2024-12-07T12:56:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=416e4cd332c7421b187844ac9aaf6fe28b575a7d'/>
<id>416e4cd332c7421b187844ac9aaf6fe28b575a7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
