llvm-project/llvm/test/Transforms/DeadArgElim
George Burgess IV 48ee59b6f0 [DeadArgElim] Remove allocsize attributes on callsites
We're already removing allocsize attributes from Functions that we
remove args from, since removing arguments from a function may make the
allocsize attribute incorrect. It appears we forgot to also remove them
from callsites.

Without this, I get verifier errors on `@Test2`.

It probably wouldn't be too hard to make DAE properly update allocsize
attributes instead of dropping them, but I can't think of a scenario
where that'd be useful in practice.

llvm-svn: 329868
2018-04-12 02:06:01 +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
allocsize.ll [DeadArgElim] Remove allocsize attributes on callsites 2018-04-12 02:06:01 +00:00
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
func_metadata.ll [DeadArgumentElim] Clone function level metadatas 2018-04-02 17:27:38 +00:00
funclet.ll
keepalive.ll
linkage.ll
multdeadretval.ll
musttail-caller.ll [DAE] don't remove args of musttail target/caller 2018-03-01 00:09:35 +00:00
naked_functions.ll
operandbundle.ll
returned.ll
variadic_safety.ll