<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/AST/ByteCode/Program.cpp, branch main</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][bytecode] Dummy variables can have pointers to them (#166908)</title>
<updated>2025-11-07T09:51:17+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-11-07T09:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a96ad136f6f6116a369337c52d0e86f94c548e8c'/>
<id>a96ad136f6f6116a369337c52d0e86f94c548e8c</id>
<content type='text'>
at the point when they become proper globals.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
at the point when they become proper globals.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Check types when loading values (#165385)</title>
<updated>2025-11-05T15:02:19+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-11-05T15:02:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=14c76437ee1ae5ae2e641eb271988939163b8981'/>
<id>14c76437ee1ae5ae2e641eb271988939163b8981</id>
<content type='text'>
We need to allow BitCasts between pointer types to different prim types,
but that means we need to catch the problem at a later stage, i.e. when
loading the values.

Fixes https://github.com/llvm/llvm-project/issues/158527
Fixes https://github.com/llvm/llvm-project/issues/163778</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to allow BitCasts between pointer types to different prim types,
but that means we need to catch the problem at a later stage, i.e. when
loading the values.

Fixes https://github.com/llvm/llvm-project/issues/158527
Fixes https://github.com/llvm/llvm-project/issues/163778</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Remove dummy variables once they are proper globals (#166174)</title>
<updated>2025-11-05T11:15:48+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-11-05T11:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fedd3b0399e78f47c5795f436b88722319832172'/>
<id>fedd3b0399e78f47c5795f436b88722319832172</id>
<content type='text'>
Dummy variables have an entry in `Program::Globals`, but they are not
added to `GlobalIndices`. When registering redeclarations, we used to
only patch up the global indices, but that left the dummy variables
alone. Update the dummy variables of all redeclarations as well.


Fixes https://github.com/llvm/llvm-project/issues/165952</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dummy variables have an entry in `Program::Globals`, but they are not
added to `GlobalIndices`. When registering redeclarations, we used to
only patch up the global indices, but that left the dummy variables
alone. Update the dummy variables of all redeclarations as well.


Fixes https://github.com/llvm/llvm-project/issues/165952</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Fix a crash when redeclaring extern globals (#164204)</title>
<updated>2025-10-20T10:55:06+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-10-20T10:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7b0c51a43917fdd4dae2f9415b6c041ca4d1c3f1'/>
<id>7b0c51a43917fdd4dae2f9415b6c041ca4d1c3f1</id>
<content type='text'>
One iteration of this loop might've already fixed up the pointers of
coming globals, so check for that explicitly.

Fixes https://github.com/llvm/llvm-project/issues/164151</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One iteration of this loop might've already fixed up the pointers of
coming globals, so check for that explicitly.

Fixes https://github.com/llvm/llvm-project/issues/164151</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode] Add Block::movePointersTo (#163795)</title>
<updated>2025-10-17T05:58:09+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-10-17T05:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=558d935e93c20fea42fa8af54b401a74962c94c6'/>
<id>558d935e93c20fea42fa8af54b401a74962c94c6</id>
<content type='text'>
which moves all the block's pointers to a new block.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
which moves all the block's pointers to a new block.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytcode][NFC] Use UnsignedOrNone for global ids (#157328)</title>
<updated>2025-09-08T06:56:46+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-09-08T06:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8ba0d0f72f25229cfa2de9b7352866d7a33c1e54'/>
<id>8ba0d0f72f25229cfa2de9b7352866d7a33c1e54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] NFC: introduce Type::getAsEnumDecl, and cast variants for all TagDecls (#155463)</title>
<updated>2025-08-26T19:05:59+00:00</updated>
<author>
<name>Matheus Izvekov</name>
<email>mizvekov@gmail.com</email>
</author>
<published>2025-08-26T19:05:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2ec71d93ad888d9523425930ef8c35fe8f0b2485'/>
<id>2ec71d93ad888d9523425930ef8c35fe8f0b2485</id>
<content type='text'>
And make use of those.

These changes are split from prior PR #155028, in order to decrease the
size of that PR and facilitate review.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And make use of those.

These changes are split from prior PR #155028, in order to decrease the
size of that PR and facilitate review.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode][NFC] Use Pointer::initializeAllElements() in Program (#155391)</title>
<updated>2025-08-26T10:46:30+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-26T10:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=aaae6ac6dec1fab6ab88c332002d7446d8e3f0ab'/>
<id>aaae6ac6dec1fab6ab88c332002d7446d8e3f0ab</id>
<content type='text'>
We just initialized the entire string, so use this function instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We just initialized the entire string, so use this function instead.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang] NFC: change more places to use Type::getAsTagDecl and friends (#155313)</title>
<updated>2025-08-25T23:18:56+00:00</updated>
<author>
<name>Matheus Izvekov</name>
<email>mizvekov@gmail.com</email>
</author>
<published>2025-08-25T23:18:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=dc8596d5485a52abee2967cec72f81ef4872270c'/>
<id>dc8596d5485a52abee2967cec72f81ef4872270c</id>
<content type='text'>
This changes a bunch of places which use getAs&lt;TagType&gt;, including
derived types, just to obtain the tag definition.

This is preparation for #155028, offloading all the changes that PR used
to introduce which don't depend on any new helpers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes a bunch of places which use getAs&lt;TagType&gt;, including
derived types, just to obtain the tag definition.

This is preparation for #155028, offloading all the changes that PR used
to introduce which don't depend on any new helpers.</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][bytecode][NFC] Use an anonymous union in Pointer (#154405)</title>
<updated>2025-08-20T07:23:19+00:00</updated>
<author>
<name>Timm Baeder</name>
<email>tbaeder@redhat.com</email>
</author>
<published>2025-08-20T07:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a9de444aa12c02c81f65e4e4e5262897b80c5a58'/>
<id>a9de444aa12c02c81f65e4e4e5262897b80c5a58</id>
<content type='text'>
So we can save ourselves writing PointeeStorage all the time.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we can save ourselves writing PointeeStorage all the time.</pre>
</div>
</content>
</entry>
</feed>
