diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-11-30 21:38:30 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-11-30 21:38:30 +0000 |
| commit | f80b39986fc47ac438bb4e1fd38526ccbae371c5 (patch) | |
| tree | 155182cde785be1a948378fc4e03371c73a39882 /llvm/lib/MC/MCDisassembler/EDOperand.cpp | |
| parent | a87065807f810453114a2796571ef200b634b9f4 (diff) | |
| download | bcm5719-llvm-f80b39986fc47ac438bb4e1fd38526ccbae371c5.tar.gz bcm5719-llvm-f80b39986fc47ac438bb4e1fd38526ccbae371c5.zip | |
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/MC/MCDisassembler/EDOperand.cpp')
0 files changed, 0 insertions, 0 deletions

