summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-10-16 14:06:14 +0000
committerKostya Serebryany <kcc@google.com>2013-10-16 14:06:14 +0000
commitd3d23bec66de349522544d8d5510ac54d8b95e40 (patch)
tree6aea3d3e1ce79c0fd9e1494dd591e81cd21fd6d4 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parent442c4e4b1adca5cb92652c502c07c03c900b88e7 (diff)
downloadbcm5719-llvm-d3d23bec66de349522544d8d5510ac54d8b95e40.tar.gz
bcm5719-llvm-d3d23bec66de349522544d8d5510ac54d8b95e40.zip
[asan] Optimize accesses to global arrays with constant index
Summary: Given a global array G[N], which is declared in this CU and has static initializer avoid instrumenting accesses like G[i], where 'i' is a constant and 0<=i<N. Also add a bit of stats. This eliminates ~1% of instrumentations on SPEC2006 and also partially helps when asan is being run together with coverage. Reviewers: samsonov Reviewed By: samsonov CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1947 llvm-svn: 192794
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud