mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
a5f20f3678
This pass was assuming that if hasAddressTaken() returns false for a function, the function's only uses are call sites. That's not true because there can be references by BlockAddresses too. Fix the pass to handle this case. Fix BlockAddress::replaceUsesOfWithOnConstant() to allow a function's type to be changed by RAUW'ing the function with a bitcast of the recreated function. Patch by Mark Seaborn. llvm-svn: 183933 |
||
---|---|---|
.. | ||
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 | ||
basictest.ll | ||
canon.ll | ||
dbginfo.ll | ||
dead_vaargs.ll | ||
deadexternal.ll | ||
deadretval2.ll | ||
deadretval.ll | ||
keepalive.ll | ||
lit.local.cfg | ||
multdeadretval.ll | ||
variadic_safety.ll |