1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Teresa Johnson a7d69b86de [ThinLTO] Only emit referenced type id records in index files
Summary:
Currently all type ids are emitted into the index file when it is
written. For distributed ThinLTO, that meant that all type ids were
being duplicated into every single distributed index file, regardless of
whether they were referenced, leading to huge amounts of unnecessary
duplication and size bloat.

Keep track of the type id GUIDs actually referenced by the GV summary
records being emitted, and only emit those type IDs.

Add a new test, and fix test/Assembler/thinlto-summary.ll so that all
type ids are referenced to prevent deletion in that test.

Reviewers: pcc

Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, vitalybuka, llvm-commits

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

llvm-svn: 337503
2018-07-19 22:25:56 +00:00
..
Analysis [SCEV] Fix buggy behavior in getAddExpr with truncs 2018-07-19 01:46:21 +00:00
Assembler [ThinLTO] Only emit referenced type id records in index files 2018-07-19 22:25:56 +00:00
Bindings
Bitcode [FileCheck] Add -allow-deprecated-dag-overlap to failing llvm tests 2018-07-11 20:25:49 +00:00
BugPoint
CodeGen [DAGCombiner] Teach DAGCombiner that A-(-B) is A+B. 2018-07-19 22:24:43 +00:00
DebugInfo Rename __asan_gen_* symbols to ___asan_gen_*. 2018-07-18 22:23:14 +00:00
Examples
ExecutionEngine Revert "Re-land r335297 "[X86] Implement more of x86-64 large and medium PIC code models"" 2018-06-28 17:56:43 +00:00
Feature
FileCheck [FileCheck] Implement -v and -vv for tracing matches 2018-07-13 03:08:23 +00:00
Instrumentation Rename __asan_gen_* symbols to ___asan_gen_*. 2018-07-18 22:23:14 +00:00
Integer
JitListener
Linker
LTO [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
MC [MC] Fix nested macro body parsing 2018-07-18 16:17:03 +00:00
Object
ObjectYAML
Other [ThinLTO] Enable ThinLTO WholeProgramDevirt and LowerTypeTests in new PM 2018-07-19 14:51:32 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [json, test] Fix the json.td test - the path to python could contain spaces 2018-07-13 15:10:53 +00:00
ThinLTO/X86 [ThinLTO] Only emit referenced type id records in index files 2018-07-19 22:25:56 +00:00
tools [X86][BtVer2] correctly model the latency/throughput of LEA instructions. 2018-07-19 16:42:15 +00:00
Transforms [LSV] Refactoring + supporting bitcasts to a type of different size 2018-07-19 19:42:43 +00:00
Unit
Verifier Recommit r335794 "Add support for generating a call graph profile from Branch Frequency Info." with fix for removed functions. 2018-07-16 00:28:24 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh