1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/lib
Teresa Johnson d39ccf1724 [ThinLTO] Use per-summary flag to prevent exporting locals used in inline asm
Summary:
Instead of using the workaround of suppressing the entire index for
modules that call inline asm that may reference locals, use the
NoRename flag on the summary for any locals in the llvm.used set, and
add a reference edge from any functions containing inline asm.

This avoids issues from having no summaries despite the module defining
global values, which was preventing more aggressive index-based
optimization. It will be followed by a subsequent patch to make a
similar fix for local references in module level asm (to fix PR30610).

Reviewers: mehdi_amini

Subscribers: llvm-commits

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

llvm-svn: 285513
2016-10-30 05:40:44 +00:00
..
Analysis [ThinLTO] Use per-summary flag to prevent exporting locals used in inline asm 2016-10-30 05:40:44 +00:00
AsmParser DebugInfo: preparation to implement DW_AT_alignment 2016-10-20 00:13:12 +00:00
Bitcode [ThinLTO] Use flags from summary when writing variable summary (NFC) 2016-10-28 19:36:00 +00:00
CodeGen [DAGCombiner] (REAPPLIED) Add vector demanded elements support to computeKnownBits 2016-10-29 11:29:39 +00:00
DebugInfo Define calculateDbgStreamSize for consistency. 2016-10-29 00:56:44 +00:00
Demangle
ExecutionEngine Fix cross-endianness RuntimeDyld relocation for ARM 2016-10-20 22:15:56 +00:00
Fuzzer [libFuzzer] enable use_cmp by default 2016-10-27 21:44:37 +00:00
IR IR: Remove a no longer needed assert. 2016-10-29 20:57:12 +00:00
IRReader
LibDriver
LineEditor
Linker Typo: nomed struct -> named struct 2016-10-19 20:10:03 +00:00
LTO [ThinLTO] Correctly resolve linkonce when importing aliasee 2016-10-30 05:15:23 +00:00
MC Reverting back r285355: "Update .debug_line section version information to match DWARF version", while I'm investigating a test failure. 2016-10-27 23:20:19 +00:00
Object Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
ObjectYAML
Option Generalize ArgList::AddAllArgs more 2016-09-29 19:47:58 +00:00
Passes Conditionally eliminate library calls where the result value is not used 2016-10-18 21:36:27 +00:00
ProfileData Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 15:02:18 +00:00
Support NativeFormatting.cpp: Fix build for mingw. Where would writePadding() be? 2016-10-29 23:14:18 +00:00
TableGen
Target [X86] Don't use loadv2i64 on SSE version of PMULHRSW. Use memopv2i64 instead. 2016-10-30 00:02:55 +00:00
Transforms [ThinLTO] Use per-summary flag to prevent exporting locals used in inline asm 2016-10-30 05:40:44 +00:00
CMakeLists.txt
LLVMBuild.txt