[PATCH] New alias analysis for static global variables
Sam Parker
sam.parker at arm.com
Wed May 27 06:42:41 PDT 2015
Hi,
After comments and suggestions on my original patch, including being pointed to GlobalsModRef AA, I decided to model a new AA pass on GlobalsModRef but one that is more light weight than GlobalsModRef. This pass is designed to just track static global variables which we find are often used in embedded applications. Hal originally asked for better analysis of GlobalsModRef, so I have run LNT multiple times on my desktop, even runs are with this new pass and odd are without:
geometric mean
run compile time execution time
1 0.1219 0.0052
2 0.1071 0.0052
3 0.1085 0.0053
4 0.109 0.0055
5 0.1078 0.0052
6 0.108 0.0051
7 0.1078 0.0052
8 0.1085 0.0053
9 0.1067 0.0053
10 0.1073 0.0053
11 0.11 0.0053
12 0.1041 0.005
13 0.1073 0.0051
14 0.1085 0.0049
15 0.1079 0.0052
16 0.1072 0.0054
17 0.1057 0.0051
18 0.1074 0.0052
19 0.1074 0.005
20 0.1061 0.0052
Cheers,
Sam
http://reviews.llvm.org/D10059
Files:
include/llvm/Analysis/Passes.h
include/llvm/InitializePasses.h
lib/Analysis/IPA/CMakeLists.txt
lib/Analysis/IPA/IPA.cpp
lib/Analysis/IPA/StaticGlobalsAA.cpp
lib/Transforms/IPO/PassManagerBuilder.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10059.26590.patch
Type: text/x-patch
Size: 9101 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150527/828971e9/attachment.bin>
More information about the llvm-commits
mailing list