<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll, 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>Reapply: Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries (#106165)</title>
<updated>2024-08-27T17:53:25+00:00</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@gmail.com</email>
</author>
<published>2024-08-27T17:53:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fa4fbaefde8569ca64594fc3845340536ec8eb02'/>
<id>fa4fbaefde8569ca64594fc3845340536ec8eb02</id>
<content type='text'>
This retries #90692 which was reverted previously due to issues with
lld-available being set, even if the copy of lld is not built from
source.

This does not change any code compared to #90692 to address the
lld-available issue.
The main change w.r.t, lld-available is xfailing tests in PR #99056
(until a longer term fix is available).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This retries #90692 which was reverted previously due to issues with
lld-available being set, even if the copy of lld is not built from
source.

This does not change any code compared to #90692 to address the
lld-available issue.
The main change w.r.t, lld-available is xfailing tests in PR #99056
(until a longer term fix is available).</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Reapply "Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries" (#90610)" (#91194)</title>
<updated>2024-05-06T13:37:07+00:00</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@gmail.com</email>
</author>
<published>2024-05-06T13:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d71771dd2748057532603813139d8fd61e83ea79'/>
<id>d71771dd2748057532603813139d8fd61e83ea79</id>
<content type='text'>
Reverts llvm/llvm-project#90692

Breaking PPC buildbots. The bots are not meant to test LLD, but are
running a test that is using an old version of LLD without the change
(so is incompatible). Revert until a fix is found.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#90692

Breaking PPC buildbots. The bots are not meant to test LLD, but are
running a test that is using an old version of LLD without the change
(so is incompatible). Revert until a fix is found.</pre>
</div>
</content>
</entry>
<entry>
<title>Reapply "Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries" (#90610) (#90692)</title>
<updated>2024-05-01T17:58:05+00:00</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@gmail.com</email>
</author>
<published>2024-05-01T17:58:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=28869a704ef59471cee6c750f2566b133b0ff391'/>
<id>28869a704ef59471cee6c750f2566b133b0ff391</id>
<content type='text'>
This reverts commit 2aabfc811670beb843074c765c056fff4a7b443b.

Add fixes to LLD and Gold tests missed in original change.

Co-authored-by: Jan Voung &lt;jvoung@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2aabfc811670beb843074c765c056fff4a7b443b.

Add fixes to LLD and Gold tests missed in original change.

Co-authored-by: Jan Voung &lt;jvoung@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries" (#90610)</title>
<updated>2024-04-30T14:09:22+00:00</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@gmail.com</email>
</author>
<published>2024-04-30T14:09:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2aabfc811670beb843074c765c056fff4a7b443b'/>
<id>2aabfc811670beb843074c765c056fff4a7b443b</id>
<content type='text'>
Reverts llvm/llvm-project#90497
Broke some LLD tests.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#90497
Broke some LLD tests.</pre>
</div>
</content>
</entry>
<entry>
<title>Use an abbrev to reduce size of VALUE_GUID records in ThinLTO summaries (#90497)</title>
<updated>2024-04-30T13:26:09+00:00</updated>
<author>
<name>Jan Voung</name>
<email>jvoung@gmail.com</email>
</author>
<published>2024-04-30T13:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=adabdc12f995b0af74c866201899e738796d0d5e'/>
<id>adabdc12f995b0af74c866201899e738796d0d5e</id>
<content type='text'>
GUID often have content in the higher bits of a 64-bit entry so using
the unabbrev encoding is inefficient (lots of VBR control bits).
Instead, use an abbrev with two 32-bit fixed width chunks.
The abbrev also helps encode the "count" in one place instead of
in every record.

Reduces size of distributed backend summary files by 8.7% in one
example app.

Co-authored-by: Jan Voung &lt;jvoung@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GUID often have content in the higher bits of a 64-bit entry so using
the unabbrev encoding is inefficient (lots of VBR control bits).
Instead, use an abbrev with two 32-bit fixed width chunks.
The abbrev also helps encode the "count" in one place instead of
in every record.

Reduces size of distributed backend summary files by 8.7% in one
example app.

Co-authored-by: Jan Voung &lt;jvoung@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[ThinLTO] Remove BlockCount for non partial sample profile builds</title>
<updated>2023-04-20T18:45:15+00:00</updated>
<author>
<name>Teresa Johnson</name>
<email>tejohnson@google.com</email>
</author>
<published>2023-04-19T21:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3adc6e03080c6d38a51f5c5b6744b7c0d9c7541b'/>
<id>3adc6e03080c6d38a51f5c5b6744b7c0d9c7541b</id>
<content type='text'>
As pointed out in
https://discourse.llvm.org/t/undeterministic-thin-index-file/69985, the
block count added to distributed ThinLTO index files breaks incremental
builds on ThinLTO - if any linked file has a different number of BBs,
then the accumulated sum placed in the index files will change, causing
all ThinLTO backend compiles to be redone.

The block count is only used for scaling of partial sample profiles, and
was added in D80403 for D79831.

This patch simply removes this field from the index files of non partial
sample profile compiles, which is NFC on the output of the compiler.

We subsequently need to see if this can be removed for partial sample
profiles without signficant performance loss, or redesigned in a way
that does not destroy caching.

Differential Revision: https://reviews.llvm.org/D148746
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As pointed out in
https://discourse.llvm.org/t/undeterministic-thin-index-file/69985, the
block count added to distributed ThinLTO index files breaks incremental
builds on ThinLTO - if any linked file has a different number of BBs,
then the accumulated sum placed in the index files will change, causing
all ThinLTO backend compiles to be redone.

The block count is only used for scaling of partial sample profiles, and
was added in D80403 for D79831.

This patch simply removes this field from the index files of non partial
sample profile compiles, which is NFC on the output of the compiler.

We subsequently need to see if this can be removed for partial sample
profiles without signficant performance loss, or redesigned in a way
that does not destroy caching.

Differential Revision: https://reviews.llvm.org/D148746
</pre>
</div>
</content>
</entry>
<entry>
<title>[ThinLTO] Compute the basic block count across modules.</title>
<updated>2020-05-28T17:33:05+00:00</updated>
<author>
<name>Hiroshi Yamauchi</name>
<email>yamauchi@google.com</email>
</author>
<published>2020-05-21T20:28:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a7fa35a629e85a72b8cf07a8f95c7c09d9663808'/>
<id>a7fa35a629e85a72b8cf07a8f95c7c09d9663808</id>
<content type='text'>
Summary:
Count the per-module number of basic blocks when the module summary is computed
and sum them up during Thin LTO indexing.

This is used to estimate the working set size under the partial sample PGO.

This is split off of D79831.

Reviewers: davidxl, espindola

Subscribers: emaste, inglorion, hiraditya, MaskRay, steven_wu, dexonsmith, arphaman, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80403
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Count the per-module number of basic blocks when the module summary is computed
and sum them up during Thin LTO indexing.

This is used to estimate the working set size under the partial sample PGO.

This is split off of D79831.

Reviewers: davidxl, espindola

Subscribers: emaste, inglorion, hiraditya, MaskRay, steven_wu, dexonsmith, arphaman, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80403
</pre>
</div>
</content>
</entry>
<entry>
<title>[ThinLTO] Attempt to recommit r365188 after alignment fix</title>
<updated>2019-07-05T15:25:05+00:00</updated>
<author>
<name>Eugene Leviant</name>
<email>eleviant@accesssoftek.com</email>
</author>
<published>2019-07-05T15:25:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3aef35288b5387d3b1e8c1627df5c031b9c151c7'/>
<id>3aef35288b5387d3b1e8c1627df5c031b9c151c7</id>
<content type='text'>
llvm-svn: 365215
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 365215
</pre>
</div>
</content>
</entry>
<entry>
<title>Reverted r365188 due to alignment problems on i686-android</title>
<updated>2019-07-05T13:26:05+00:00</updated>
<author>
<name>Eugene Leviant</name>
<email>eleviant@accesssoftek.com</email>
</author>
<published>2019-07-05T13:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e91f86f0ac70be2bfcb3fb862b4e6d9d9f84cf5f'/>
<id>e91f86f0ac70be2bfcb3fb862b4e6d9d9f84cf5f</id>
<content type='text'>
llvm-svn: 365206
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
llvm-svn: 365206
</pre>
</div>
</content>
</entry>
<entry>
<title>[ThinLTO] Attempt to recommit r365040 after caching fix</title>
<updated>2019-07-05T12:00:10+00:00</updated>
<author>
<name>Eugene Leviant</name>
<email>eleviant@accesssoftek.com</email>
</author>
<published>2019-07-05T12:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=820cc01d1e65f7be7c3c27bcdcb6b8c13f4ec2e6'/>
<id>820cc01d1e65f7be7c3c27bcdcb6b8c13f4ec2e6</id>
<content type='text'>
It's possible that some function can load and store the same
variable using the same constant expression:

store %Derived* @foo, %Derived** bitcast (%Base** @bar to %Derived**)
%42 = load %Derived*, %Derived** bitcast (%Base** @bar to %Derived**)

The bitcast expression was mistakenly cached while processing loads,
and never examined later when processing store. This caused @bar to
be mistakenly treated as read-only variable. See load-store-caching.ll.

llvm-svn: 365188
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's possible that some function can load and store the same
variable using the same constant expression:

store %Derived* @foo, %Derived** bitcast (%Base** @bar to %Derived**)
%42 = load %Derived*, %Derived** bitcast (%Base** @bar to %Derived**)

The bitcast expression was mistakenly cached while processing loads,
and never examined later when processing store. This caused @bar to
be mistakenly treated as read-only variable. See load-store-caching.ll.

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