1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test
Teresa Johnson 8d9ed1ced3 [ThinLTO] Ensure anonymous globals renamed even at -O0
Summary:
This fixes an issue when files are compiled with -flto=thin
at default -O0. We need to rename anonymous globals before attempting
to write the module summary because all values need names for
the summary. This was happening at -O1 and above, but not before
the early exit when constructing the pipeline for -O0.

Also add an internal -prepare-for-thinlto option to enable this
to be tested via opt.

Fixes PR30419.

Reviewers: mehdi_amini

Subscribers: probinson, llvm-commits, mehdi_amini

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

llvm-svn: 281840
2016-09-17 20:40:16 +00:00
..
Analysis auto-generate checks 2016-09-16 17:54:52 +00:00
Assembler DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
Bindings
Bitcode Fix test after renaming -name-anon-functions pass to -name-anon-globals 2016-09-16 17:18:16 +00:00
BugPoint
CodeGen [X86][SSE] Added vector mul combine tests 2016-09-17 20:06:16 +00:00
DebugInfo [codeview] Optimize the size of defranges with gaps 2016-09-15 22:05:08 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
Examples
ExecutionEngine [ORC] Clone module flags metadata into the globals module in the 2016-09-04 17:53:30 +00:00
Feature
FileCheck
Instrumentation [sanitizer-coverage] change trace-pc to use 8-byte guards 2016-09-17 05:03:05 +00:00
Integer
JitListener
LibDriver
Linker Fix autoupgrade logic for Objective-C class properties module flag 2016-09-16 00:38:18 +00:00
LTO [LTO] Use llvm-nm instead of nm in new tests 2016-09-16 17:12:48 +00:00
MC AMDGPU: Use i64 scalar compare instructions 2016-09-17 02:02:19 +00:00
Object [IRObjectFile] Handle undefined weak symbols in RecordStreamer. 2016-09-15 17:54:22 +00:00
ObjectYAML
Other [PM] Port CFGViewer and CFGPrinter to the new Pass Manager 2016-09-15 18:35:27 +00:00
SymbolRewriter
TableGen [TableGen] AsmMatcher: Add AsmVariantName to Instruction class. 2016-09-08 15:50:52 +00:00
ThinLTO/X86 [ThinLTO] Add an option to llvm-lto to print some basic statistics for the index 2016-09-14 21:04:59 +00:00
tools [LTO] Add ability to parse AA pipelines. 2016-09-16 21:03:21 +00:00
Transforms [ThinLTO] Ensure anonymous globals renamed even at -O0 2016-09-17 20:40:16 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
lit.cfg Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
lit.site.cfg.in
TestRunner.sh