1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/Transforms/IPO
Arthur Eubanks 45cb3d9d33 [DAE] MarkLive in MarkValue(MaybeLive) if any use is live
While looping through all args or all return values, we may mark a use
of a later iteration as live. Previously when we got to that later value
it would ignore that and continue adding to Uses instead of marking it
live. For example, when looping through arg#0 and arg#1,
MarkValue(arg#0, Live) may cause some use of arg#1 to be live, but
MarkValue(arg#1, MaybeLive) will not notice that and continue adding
into Uses.

Now MarkValue(RA, MaybeLive) will MarkLive(RA) if any use is live.

Fixes PR47444.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D88529
2020-10-02 10:55:08 -07:00
..
AlwaysInliner.cpp Reland [AlwaysInliner] Update BFI when inlining 2020-10-02 10:46:57 -07:00
ArgumentPromotion.cpp [ArgumentPromotion]: Copy function metadata after promoting arguments 2020-09-10 13:08:57 -04:00
Attributor.cpp [Attributor] Cleanup IRPosition::getArgNo usages 2020-09-09 00:52:17 -05:00
AttributorAttributes.cpp [LVI] Require context instruction in external API (NFCI) 2020-09-27 18:07:24 +02:00
BarrierNoopPass.cpp
BlockExtractor.cpp
CalledValuePropagation.cpp
CMakeLists.txt
ConstantMerge.cpp
CrossDSOCFI.cpp
DeadArgumentElimination.cpp [DAE] MarkLive in MarkValue(MaybeLive) if any use is live 2020-10-02 10:55:08 -07:00
ElimAvailExtern.cpp
ExtractGV.cpp
ForceFunctionAttrs.cpp Force Remove Attribute 2020-08-19 17:30:13 -04:00
FunctionAttrs.cpp [FunctionAttrs] Inline setDoesNotRecurse() and delete it. NFC 2020-09-19 22:24:52 -07:00
FunctionImport.cpp Fix some clang-tidy bugprone-argument-comment issues 2020-09-19 20:41:25 -07:00
GlobalDCE.cpp
GlobalOpt.cpp [GlobalOpt] Fix an incorrect Modified status 2020-09-02 15:00:45 +02:00
GlobalSplit.cpp
HotColdSplitting.cpp [HotColdSplit] Fix variable name spelling 2020-08-12 22:50:08 -07:00
InferFunctionAttrs.cpp
Inliner.cpp
InlineSimple.cpp
Internalize.cpp
IPO.cpp
LLVMBuild.txt
LoopExtractor.cpp
LowerTypeTests.cpp [AArch64] Add BTI to CFI jumptables. 2020-09-29 13:50:23 +02:00
MergeFunctions.cpp
OpenMPOpt.cpp [OpenMP] Add Missing Runtime Call for Globalization Remarks 2020-10-01 21:19:53 -04:00
PartialInlining.cpp [Partial Inliner] Compute intrinsic cost through TTI 2020-09-16 15:12:31 +01:00
PassManagerBuilder.cpp [LoopFlatten] Add a loop-flattening pass 2020-10-01 13:54:45 +01:00
PruneEH.cpp [PruneEH][NFC] Use CallGraphUpdater in PruneEH 2020-09-14 14:43:19 -07:00
SampleProfile.cpp [SampleFDO] Enhance profile remapping support for searching inline instance 2020-08-26 11:07:35 -07:00
SCCP.cpp
StripDeadPrototypes.cpp
StripSymbols.cpp [NewPM] Port strip* passes to NPM 2020-09-15 18:25:12 -07:00
SyntheticCountsPropagation.cpp
ThinLTOBitcodeWriter.cpp
WholeProgramDevirt.cpp [WholeProgramDevirt][NewPM] Add NPM testing path to match legacy pass 2020-09-30 17:27:37 -07:00