[PATCH] D51330: [ThinLTO] Efficiency fix for writing type id records in per-module indexes

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 31 10:30:34 PDT 2018


tejohnson updated this revision to Diff 163560.
tejohnson added a comment.
Herald added a subscriber: eraman.

Change the TypeIdMap in summary to be indexed by GUID.

A few tests changed because the order of serialization changed a bit
(iterating in GUID order instead of string order).


Repository:
  rL LLVM

https://reviews.llvm.org/D51330

Files:
  include/llvm/IR/ModuleSummaryIndex.h
  include/llvm/IR/ModuleSummaryIndexYAML.h
  lib/AsmParser/LLParser.cpp
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/AsmWriter.cpp
  lib/LTO/LTO.cpp
  lib/Transforms/IPO/LowerTypeTests.cpp
  lib/Transforms/IPO/WholeProgramDevirt.cpp
  test/Assembler/thinlto-summary.ll
  test/Transforms/WholeProgramDevirt/branch-funnel.ll
  test/Transforms/WholeProgramDevirt/export-single-impl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51330.163560.patch
Type: text/x-patch
Size: 23132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180831/d4958ca4/attachment.bin>


More information about the llvm-commits mailing list