mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
61d02a0896
In addition to finding dead uses of instructions, also find dead uses of function arguments, and replace them with zero as well. I'm changing the way the known bits are computed here to remove the coupling between the transfer function and the algorithm. It previously relied on the first op being visited first and computing known bits -- unless the first op is not an instruction, in which case they're computed on the second op. I could have adjusted this to check for "instruction or argument", but I think it's better to avoid the repeated calculation with an explicit flag. Differential Revision: https://reviews.llvm.org/D56247 llvm-svn: 350435 |
||
---|---|---|
.. | ||
basic.ll | ||
dbg-multipleuses.ll | ||
dce-pure.ll | ||
dead-uses.ll | ||
dead-void-ro.ll | ||
invalidate-assumptions.ll | ||
order.ll | ||
pr26587.ll | ||
vectors.ll |