mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
c4af8c9467
Previously, a non-extractvalue use of an aggregate return value meant the entire return was considered live (the algorithm gave up entirely). This was correct, but conservative. It's better to actually look at that Use, making the analysis results apply to all sub-values under consideration. E.g. %val = call { i32, i32 } @whatever() [...] ret { i32, i32 } %val The return is using the entire aggregate (sub-values 0 and 1). We can still simplify @whatever if we can prove that this return is itself unused. Also unifies the logic slightly between aggregate and non-aggregate cases.. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228558 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
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 | ||
2013-05-17-VarargsAndBlockAddress.ll | ||
aggregates.ll | ||
basictest.ll | ||
canon.ll | ||
dbginfo.ll | ||
dead_vaargs.ll | ||
deadexternal.ll | ||
deadretval2.ll | ||
deadretval.ll | ||
keepalive.ll | ||
linkage.ll | ||
multdeadretval.ll | ||
returned.ll | ||
variadic_safety.ll |