1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Transforms/Inline
Vedant Kumar e8e55ea37a [Local] Do not move around dbg.declares during replaceDbgDeclare
replaceDbgDeclare is used to update the descriptions of stack variables
when they are moved (e.g. by ASan or SafeStack). A side effect of
replaceDbgDeclare is that it moves dbg.declares around in the
instruction stream (typically by hoisting them into the entry block).
This behavior was introduced in llvm/r227544 to fix an assertion failure
(llvm.org/PR22386), but no longer appears to be necessary.

Hoisting a dbg.declare generally does not create problems. Usually,
dbg.declare either describes an argument or an alloca in the entry
block, and backends have special handling to emit locations for these.
In optimized builds, LowerDbgDeclare places dbg.values in the right
spots regardless of where the dbg.declare is. And no one uses
replaceDbgDeclare to handle things like VLAs.

However, there doesn't seem to be a positive case for moving
dbg.declares around anymore, and this reordering can get in the way of
understanding other bugs. I propose getting rid of it.

Testing: stage2 RelWithDebInfo sanitized build, check-llvm

rdar://59397340

Differential Revision: https://reviews.llvm.org/D74517
2020-02-13 14:35:02 -08:00
..
AArch64
AMDGPU
ARM
PowerPC
X86
2003-09-14-InlineValue.ll
2003-09-22-PHINodeInlineFail.ll
2003-09-22-PHINodesInExceptionDest.ll
2003-09-22-PHINodesInNormalInvokeDest.ll
2003-10-13-AllocaDominanceProblem.ll
2004-04-15-InlineDeletesCall.ll
2004-04-20-InlineLinkOnce.ll
2004-10-17-InlineFunctionWithoutReturn.ll
2006-01-14-CallGraphUpdate.ll
2006-07-12-InlinePruneCGUpdate.ll
2006-11-09-InlineCGUpdate-2.ll
2006-11-09-InlineCGUpdate.ll
2007-04-15-InlineEH.ll
2007-06-25-WeakInline.ll
2007-12-19-InlineNoUnwind.ll
2008-09-02-NoInline.ll
2009-01-08-NoInlineDynamicAlloca.ll
2009-01-13-RecursiveInlineCrash.ll
2009-05-07-CallUsingSelfCrash.ll
2010-05-12-ValueMap.ll
align.ll
alloca_test.ll
alloca-bonus.ll
alloca-dbgdeclare-merge.ll [Local] Do not move around dbg.declares during replaceDbgDeclare 2020-02-13 14:35:02 -08:00
alloca-dbgdeclare.ll [Local] Do not move around dbg.declares during replaceDbgDeclare 2020-02-13 14:35:02 -08:00
alloca-in-scc.ll
alloca-merge-align.ll
always-inline.ll
arg-attr-propagation.ll
array_merge.ll
array-alloca.ll
attributes.ll
basictest.ll
bfi-update.ll
blockaddress.ll
byval_lifetime.ll
byval-tail-call.ll
byval.ll
callbr.ll
callgraph-update.ll
casts.ll
cfg_preserve_test.ll
cgscc-cycle.ll
cgscc-incremental-invalidate.ll
cgscc-invalidate.ll
cgscc-update.ll
clear-analyses.ll
comdat-ipo.ll
crash2.ll
crash-lifetime-marker.ll
crash.ll
debug-info-duplicate-calls.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
debug-invoke.ll
delete-call.ll
deopt-bundles.ll
deoptimize-intrinsic-cconv.ll
deoptimize-intrinsic.ll
devirtualize-2.ll
devirtualize-3.ll
devirtualize.ll
dynamic_alloca_test.ll
ephemeral.ll
externally_available.ll
frameescape.ll
function-count-update-2.ll
function-count-update-3.ll
function-count-update.ll
guard-intrinsic.ll
gvn-inline-iteration.ll
ignore-debug-info.ll
inalloca-not-static.ll
infinite-loop-two-predecessors.ll
inline_cleanup.ll
inline_constprop.ll
inline_dbg_declare.ll [Local] Do not move around dbg.declares during replaceDbgDeclare 2020-02-13 14:35:02 -08:00
inline_dce.ll
inline_inv_group.ll
inline_invoke.ll
inline_minisize.ll
inline_negative_result.ll
inline_prune.ll
inline_returns_twice.ll
inline_ssp.ll
inline_stats.ll
inline_unreachable-2.ll
inline_unreachable.ll
inline-assume.ll
inline-brunch-funnel.ll
inline-byval-bonus.ll
inline-cold-callee.ll
inline-cold-callsite-pgo.ll
inline-cold-callsite.ll
inline-cold.ll
inline-constexpr-addrspacecast-argument.ll
inline-fast-math-flags.ll
inline-funclets.ll
inline-hot-callee.ll
inline-hot-callsite-2.ll
inline-hot-callsite.ll
inline-indirect-chain.ll [InlineCost] Fix infinite loop in indirect call evaluation 2019-11-28 08:27:50 +02:00
inline-indirect.ll
inline-invoke-tail.ll
inline-invoke-with-asm-call.ll
inline-min-legal-vector-width.ll
inline-optnone.ll
inline-optsize.ll
inline-probe-stack.ll
inline-remark.ll
inline-semantic-interposition.ll Implement -fsemantic-interposition 2020-01-31 14:02:33 +01:00
inline-skip-use-empty-alloca.ll [utils] InlineFunction: fix for debug info affecting optimizations 2019-10-28 18:19:07 +01:00
inline-stack-probe-size.ll
inline-tail.ll
inline-threshold.ll
inline-varargs.ll
inline-vla.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
inlined-loop-metadata.ll
inlinedefault-threshold.ll [InlineCost] Add flag to allow changing the default inline cost 2020-02-04 12:06:20 -08:00
internal-scc-members.ll
invoke_test-1.ll
invoke_test-2.ll
invoke_test-3.ll
invoke-cleanup.ll
invoke-combine-clauses.ll
invoke-cost.ll
label-annotation.ll
last-call-bonus.ll
last-call-no-bonus.ll
last-callsite.ll
launder.invariant.group.ll
lifetime-no-datalayout.ll
lifetime.ll
local-as-metadata-undominated-use.ll
monster_scc.ll
nested-inline.ll
no-inline-line-tables.ll Recommit "[CodeView] Add option to disable inline line tables." 2019-11-04 09:15:26 -08:00
noalias2.ll
noalias-calls.ll [Inliner][NoAlias] Use call site attributes too 2020-02-02 23:21:29 -06:00
noalias-cs.ll
noalias.ll
noinline-recursive-fn.ll
noinline.ll
nonnull.ll
null-function.ll
optimization-remarks-hotness-threshold.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
optimization-remarks-passed-yaml.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
optimization-remarks-with-hotness.ll
optimization-remarks-yaml.ll
optimization-remarks.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
parallel-loop-md-callee.ll
parallel-loop-md-merge.ll
parallel-loop-md.ll
partial-inline-act.ll
pr21206.ll
pr22285.ll
pr26698.ll
pr28298.ll
pr33637.ll
PR4909.ll
prof-update-instr.ll
prof-update-sample.ll
profile-meta.ll
ptr-diff.ll
recursive.ll
redundant-loads.ll
store-sroa.ll
switch.ll
vector-bonus.ll
vector-no-bonus.ll
zero-cost.ll