aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ValueTracking.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-11-30 21:38:30 +0000
committerChris Lattner <sabre@nondot.org>2010-11-30 21:38:30 +0000
commit42cb684f8d8440ffd79415280dcb7676d0b5f29a (patch)
treed0527de6a48bde22f54187e123d0ec714863b011 /lib/Analysis/ValueTracking.cpp
parent6bac79deb39c0c1fcd526f1a087bf6013b2826e9 (diff)
two improvements to RemoveAccessedObjects:
1. if the underlying pointer passed in can be resolved to any argument or alloca, then we don't need to scan. Previously we would only avoid the scan if the alloca or byval was actually considered dead. 2. The dead store processing code is itself completely dead and didn't handle volatile stores right anyway, so delete it. This allows simplifying the interface to RemoveAccessedObjects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions