<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/CodeGen/tbaa-array.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>[CodeGen] Add TBAA struct path info for array members (#137719)</title>
<updated>2025-06-05T11:37:18+00:00</updated>
<author>
<name>Bruno De Fraine</name>
<email>brunodf@synopsys.com</email>
</author>
<published>2025-06-05T11:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c3b8a15eab06fceb6f4d0f2a0f505d5290ff208a'/>
<id>c3b8a15eab06fceb6f4d0f2a0f505d5290ff208a</id>
<content type='text'>
This enables the LLVM optimizer to view accesses to distinct struct
members as independent, also for array members. For example, the
following two stores no longer alias:

    struct S { int a[10]; int b; };
    void test(S *p, int i) {
      p-&gt;a[i] = ...;
      p-&gt;b = ...;
    }

Array members were already added to TBAA struct type nodes in commit
57493e29. Here, we extend a path tag for an array subscript expression.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables the LLVM optimizer to view accesses to distinct struct
members as independent, also for array members. For example, the
following two stores no longer alias:

    struct S { int a[10]; int b; };
    void test(S *p, int i) {
      p-&gt;a[i] = ...;
      p-&gt;b = ...;
    }

Array members were already added to TBAA struct type nodes in commit
57493e29. Here, we extend a path tag for an array subscript expression.</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Represent array members in new-format TBAA type descriptors</title>
<updated>2017-12-22T09:57:24+00:00</updated>
<author>
<name>Ivan A. Kosarev</name>
<email>ikosarev@accesssoftek.com</email>
</author>
<published>2017-12-22T09:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=57493e29198836bfcdab58c0780c106a4f7f30c8'/>
<id>57493e29198836bfcdab58c0780c106a4f7f30c8</id>
<content type='text'>
Now that in the new TBAA format we allow access types to be of
any object types, including aggregate ones, it becomes critical
to specify types of all sub-objects such aggregates comprise as
their members. In order to meet this requirement, this patch
enables generation of field descriptors for members of array
types.

Differential Revision: https://reviews.llvm.org/D41399

llvm-svn: 321352
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that in the new TBAA format we allow access types to be of
any object types, including aggregate ones, it becomes critical
to specify types of all sub-objects such aggregates comprise as
their members. In order to meet this requirement, this patch
enables generation of field descriptors for members of array
types.

Differential Revision: https://reviews.llvm.org/D41399

llvm-svn: 321352
</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGen] Fix generation of TBAA info for array-to-pointer conversions</title>
<updated>2017-10-20T12:35:17+00:00</updated>
<author>
<name>Ivan A. Kosarev</name>
<email>ikosarev@accesssoftek.com</email>
</author>
<published>2017-10-20T12:35:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f761d0e514c593c49f9dde7eebd293e97b80b8b4'/>
<id>f761d0e514c593c49f9dde7eebd293e97b80b8b4</id>
<content type='text'>
Resolves:
Fatal error: Offset not zero at the point of scalar access.
http://llvm.org/PR34992

Differential Revision: https://reviews.llvm.org/D39083

llvm-svn: 316211
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Resolves:
Fatal error: Offset not zero at the point of scalar access.
http://llvm.org/PR34992

Differential Revision: https://reviews.llvm.org/D39083

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