llvm-project/llvm/test
Peter Collingbourne 681fbb64a4 ModuleSummaryAnalysis: Correctly handle all function operand references.
The current code that handles personality functions when creating a
module summary does not correctly handle the case where a function's
personality function operand refers to the function indirectly
(e.g. via a bitcast). This patch handles such cases by treating
personality function references like any other reference, i.e. by
adding them to the function's reference list. This has the minor side
benefit of allowing personality functions to participate in early
dead stripping.

We do this by calling findRefEdges on the function itself. This way
we also end up handling other function operands (specifically prefix
data and prologue data) for free.

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

llvm-svn: 312698
2017-09-07 05:35:35 +00:00
..
Analysis [SCEV] Add URem support to SCEV 2017-09-01 14:59:59 +00:00
Assembler Parse and print DIExpressions inline to ease IR and MIR testing 2017-08-23 20:31:27 +00:00
Bindings [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
Bitcode Object: Downgrade invalid weak externals from an assert fail to an llvm::Error when creating an irsymtab. 2017-09-07 01:33:52 +00:00
BugPoint
CodeGen ARM: track globals promoted to coalesced const pool entries 2017-09-07 04:00:13 +00:00
DebugInfo [CodeView] Don't output S_UDTs for nested typedefs. 2017-09-05 22:06:39 +00:00
DllTool [llvm-dlltool] Fix creating stdcall/fastcall import libraries for i386 2017-08-16 05:18:36 +00:00
Examples
ExecutionEngine [AsmParser] Recommit: Hash is not a comment on some targets 2017-08-21 09:58:37 +00:00
Feature Add ‘llvm.experimental.constrained.fma‘ Intrinsic. 2017-08-24 04:18:24 +00:00
FileCheck
Instrumentation [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer 2017-08-30 22:49:31 +00:00
Integer
JitListener
LTO Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
LibDriver [llvm] Get rid of "%T" expansions 2017-08-15 20:29:24 +00:00
Linker Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
MC [WebAssembly] Only treat imports/exports as symbols when reading relocatable object files 2017-09-06 22:05:41 +00:00
Object Use the section name if a STT_SECTION symbol has empty name. 2017-09-06 00:57:53 +00:00
ObjectYAML [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
Other revert failing test 2017-08-19 12:24:41 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen Address r311914 review comments 2017-08-28 20:11:27 +00:00
ThinLTO/X86 ModuleSummaryAnalysis: Correctly handle all function operand references. 2017-09-07 05:35:35 +00:00
Transforms InstSimplify: canonicalize is idempotent 2017-09-07 01:21:43 +00:00
Unit
Verifier Revert "Revert r312139 "Verifier: Verify the correctness of fragment expressions attached to globals."" 2017-08-31 00:07:33 +00:00
YAMLParser
tools Reland "[llvm-objcopy] Add support for relocations" 2017-09-06 23:41:02 +00:00
.clang-format
CMakeLists.txt Add llvm-isel-fuzzer to test/CMakeLists.txt 2017-09-03 03:00:27 +00:00
TestRunner.sh
lit.cfg llvm-isel-fuzzer: Add some basic tests 2017-09-03 00:37:39 +00:00
lit.site.cfg.in Correctly enable the llvm-mt tests, now that build flags changed. 2017-07-26 16:35:44 +00:00