Skip to content
  • Chris Lattner's avatar
    two improvements to RemoveAccessedObjects: · f80b3998
    Chris Lattner authored
    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
    f80b3998
Loading