[PATCH] New alias analysis for static global variables

Sam Parker sam.parker at arm.com
Wed Jun 10 07:18:32 PDT 2015


I have rewritten the pass as an Immutable pass, as the module pass seemed to get invalidated and hardly ever used.  This does mean that it has to perform the analysis fully every time it is queried, and this increases compilation time of LNT by ~1.1%. It now uses the CaptureTracking system already provided in the LLVM code base.


http://reviews.llvm.org/D10059

Files:
  include/llvm/Analysis/Passes.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  lib/Analysis/Analysis.cpp
  lib/Analysis/CMakeLists.txt
  lib/Analysis/StaticGlobalsAA.cpp
  lib/CodeGen/Passes.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/Analysis/StaticGlobalAA/dead-store.ll
  test/Analysis/StaticGlobalAA/vectorize-loop.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10059.27441.patch
Type: text/x-patch
Size: 14163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150610/9abe6e8e/attachment.bin>


More information about the llvm-commits mailing list