summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-10-07 09:39:22 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-10-07 09:39:22 +0000
commit6ad5da7c81287cc96c2b5de58b1a0379a6e435b3 (patch)
treef221b69eb4e0f10beff6d54a97215e48d892ebf0 /clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
parent18424c8e5af76a02cf12fd6058324d745dac35d4 (diff)
downloadbcm5719-llvm-6ad5da7c81287cc96c2b5de58b1a0379a6e435b3.tar.gz
bcm5719-llvm-6ad5da7c81287cc96c2b5de58b1a0379a6e435b3.zip
[SLPVectorizer] Fix for PR25748: reduction vectorization after loop
unrolling. The next code is not vectorized by the SLPVectorizer: ``` int test(unsigned int *p) { int sum = 0; for (int i = 0; i < 8; i++) sum += p[i]; return sum; } ``` During optimization this loop is fully unrolled and SLPVectorizer is unable to vectorize it. Patch tries to fix this problem. Differential Revision: https://reviews.llvm.org/D24796 llvm-svn: 283535
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud