[llvm] [RFC][ThinLTO][AMDGPU] Add `AMDGPU_SUMMARY` bitcode block for ThinLTO (PR #194545)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 07:23:05 PDT 2026
================
@@ -5415,6 +5499,8 @@ void ModuleBitcodeWriter::write() {
if (Index)
writePerModuleGlobalValueSummary();
+ writeAMDGPUSummaryBlock();
----------------
teresajohnson wrote:
What if Index is null and we don't write the per-module summary above? This would also be addressed if it was built and written along with the main summary index.
https://github.com/llvm/llvm-project/pull/194545
More information about the llvm-commits
mailing list