mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
53e60d5bc6
Currently, ArgPromotion may leave metadata uses of promoted values, which will end up in the wrong function, creating invalid IR. PR33641 fixed this for dead arguments, but it can be also be triggered arguments with users that are promoted (see the updated test case). We also have to drop uses to them after promoting them. We need to do this after dealing with the non-metadata uses, so I also moved the empty use case to the loop that deals with updating the arguments of the new function. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D85127 |
||
---|---|---|
.. | ||
X86 | ||
2008-02-01-ReturnAttrs.ll | ||
2008-07-02-array-indexing.ll | ||
2008-09-07-CGUpdate.ll | ||
2008-09-08-CGUpdateSelfEdge.ll | ||
aggregate-promote.ll | ||
attrs.ll | ||
basictest.ll | ||
byval-2.ll | ||
byval.ll | ||
chained.ll | ||
control-flow2.ll | ||
control-flow.ll | ||
crash.ll | ||
dbg.ll | ||
fp80.ll | ||
inalloca.ll | ||
invalidation.ll | ||
musttail.ll | ||
naked_functions.ll | ||
nonzero-address-spaces.ll | ||
pr27568.ll | ||
pr32917.ll | ||
pr33641_remove_arg_dbgvalue.ll | ||
profile.ll | ||
reserve-tbaa.ll | ||
sret.ll | ||
tail.ll | ||
variadic.ll |