summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ProgramState.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-03-02 01:33:49 +0000
committerNadav Rotem <nrotem@apple.com>2013-03-02 01:33:49 +0000
commit739e37a0d2ea8225792ac84769f47ae319e715a9 (patch)
treef3bac408107feadcab1cff710483bd4c770281a4 /clang/lib/StaticAnalyzer/Core/ProgramState.cpp
parent2ee0b630dcde096ad899c24e5144f4b405929495 (diff)
downloadbcm5719-llvm-739e37a0d2ea8225792ac84769f47ae319e715a9.tar.gz
bcm5719-llvm-739e37a0d2ea8225792ac84769f47ae319e715a9.zip
PR14448 - prevent the loop vectorizer from vectorizing the same loop twice.
The LoopVectorizer often runs multiple times on the same function due to inlining. When this happens the loop vectorizer often vectorizes the same loops multiple times, increasing code size and adding unneeded branches. With this patch, the vectorizer during vectorization puts metadata on scalar loops and marks them as 'already vectorized' so that it knows to ignore them when it sees them a second time. PR14448. llvm-svn: 176399
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ProgramState.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud