aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-02-11 23:13:11 +0000
committerTim Northover <tnorthover@apple.com>2015-02-11 23:13:11 +0000
commit02438033e864f368cfc6ff3c915b2d113b46dde9 (patch)
tree9965e02e26cad4e8ac1d3f0ee17254cb8a17f738 /llvm/lib/Support/Path.cpp
parentef6baea74e4690911943637a4f660579391414b1 (diff)
downloadllvm-02438033e864f368cfc6ff3c915b2d113b46dde9.zip
llvm-02438033e864f368cfc6ff3c915b2d113b46dde9.tar.gz
llvm-02438033e864f368cfc6ff3c915b2d113b46dde9.tar.bz2
DeadArgElim: aggregate Return assessment properly.
I mistakenly thought the liveness of each "RetVal(F, i)" depended only on F. It actually depends on the index too, which means we need to be careful about how the results are combined before return. In particular if a single Use returns Live, that counts for the entire object, at the granularity we're considering. llvm-svn: 228885
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions