forked from OSchip/llvm-project
0b56681d21
removeCachedResults deletes the DetectionContext from DetectionContextMap such that any it cannot be used anymore. Unfortunately invalid<ReportUnprofitable> and RejectLogs.insert still do use it. Because the memory is part of a map and not returned to to the OS immediatly, such that the observable effect was only a memory leak due to reference counters not decreased when the second call to removeCachedResults does not remove the DetectionContext because because it already has been removed. Fix by not removing the DetectionContext prematurely. The second call to removeCachedResults will handle it anyway. llvm-svn: 262235 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include/polly | ||
lib | ||
test | ||
tools | ||
utils | ||
www | ||
.arcconfig | ||
.arclint | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
CREDITS.txt | ||
LICENSE.txt | ||
README |
README
Polly - Polyhedral optimizations for LLVM ----------------------------------------- http://polly.llvm.org/ Polly uses a mathematical representation, the polyhedral model, to represent and transform loops and other control flow structures. Using an abstract representation it is possible to reason about transformations in a more general way and to use highly optimized linear programming libraries to figure out the optimal loop structure. These transformations can be used to do constant propagation through arrays, remove dead loop iterations, optimize loops for cache locality, optimize arrays, apply advanced automatic parallelization, drive vectorization, or they can be used to do software pipelining.