aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.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
commitf80b39986fc47ac438bb4e1fd38526ccbae371c5 (patch)
tree155182cde785be1a948378fc4e03371c73a39882 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parenta87065807f810453114a2796571ef200b634b9f4 (diff)
downloadllvm-f80b39986fc47ac438bb4e1fd38526ccbae371c5.zip
llvm-f80b39986fc47ac438bb4e1fd38526ccbae371c5.tar.gz
llvm-f80b39986fc47ac438bb4e1fd38526ccbae371c5.tar.bz2
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. llvm-svn: 120467
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions