llvm-project/llvm/test/Transforms/DeadArgElim
Petar Jovanovic 9208e8fbf6 [DeadArgumentElimination] Preserve llvm.dbg.values's first argument
When removing return value Dead Argument Elimination pass clobbers first
llvm.dbg.value’s argument for live arguments of that function by replacing
it with nullptr. In the next pass it will be deleted, so debug location
about those arguments are lost. This change fixes it.

Patch by Djordje Todorovic.

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

llvm-svn: 323784
2018-01-30 16:42:04 +00:00
..
2006-06-27-struct-ret.ll
2007-02-07-FuncRename.ll
2007-10-18-VarargsReturn.ll
2007-12-20-ParamAttrs.ll
2008-01-16-VarargsParamAttrs.ll
2008-06-23-DeadAfterLive.ll
2009-03-17-MRE-Invoke.ll
2010-04-30-DbgInfo.ll Remove the obsolete offset parameter from @llvm.dbg.value 2017-07-28 20:21:02 +00:00
2013-05-17-VarargsAndBlockAddress.ll
aggregates.ll
basictest.ll
call_profile.ll
canon.ll
comdat.ll
dbginfo-preserve-dbgloc.ll [DeadArgumentElimination] Preserve llvm.dbg.values's first argument 2018-01-30 16:42:04 +00:00
dbginfo.ll Remove the obsolete offset parameter from @llvm.dbg.value 2017-07-28 20:21:02 +00:00
dead_vaargs.ll
deadexternal.ll
deadretval.ll
deadretval2.ll
funclet.ll
keepalive.ll
linkage.ll
multdeadretval.ll
naked_functions.ll
operandbundle.ll
returned.ll
variadic_safety.ll