llvm-project/llvm/test/Transforms/FunctionImport/Inputs
Vlad Tsyrklevich aab6000684 Reland r327041: [ThinLTO] Keep available_externally symbols live
Summary:
This change fixes PR36483. The bug was originally introduced by a change
that marked non-prevailing symbols dead. This broke LowerTypeTests
handling of available_externally functions, which are non-prevailing.
LowerTypeTests uses liveness information to avoid emitting thunks for
unused functions.

Marking available_externally functions dead is incorrect, the functions
are used though the function definitions are not. This change keeps them
live, and lets the EliminateAvailableExternally/GlobalDCE passes remove
them later instead.

(Reland with a suspected fix for a unit test failure I haven't been able
to reproduce locally)

Reviewers: pcc, tejohnson

Reviewed By: tejohnson

Subscribers: grimar, mehdi_amini, inglorion, eraman, llvm-commits

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

llvm-svn: 327360
2018-03-13 05:08:48 +00:00
..
adjustable_threshold.ll
funcimport.ll
funcimport_alias.ll
funcimport_debug.ll
funcimport_var2.ll [ThinLTO] Fix ThinLTO crash 2017-08-19 18:04:25 +00:00
hotness_based_import.ll [thinlto] Don't decay threshold for hot callsites 2016-09-30 03:01:17 +00:00
hotness_based_import2.ll [ThinLTO] Ensure callees get hot threshold when first seen on cold path 2016-12-15 18:21:01 +00:00
inlineasm.ll
not-prevailing.ll Reland r327041: [ThinLTO] Keep available_externally symbols live 2018-03-13 05:08:48 +00:00