mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-01 13:20:25 +00:00
84c934a5cb
The idiom for (auto i = n - n; i < n; i += 1) was intended to automatically derive the type of i from n (signed/unsigned int) and avoid the 'mixed signed/unsigned comparison' warning. However, almost-always-auto was never used in the LLVM coding style (although we used it in Polly for some time) and I did never intended to use this idiom upstream. PVS Studio may warns about this idiom as 'warning: both sides of operator are equivalent [misc-redundant-expression]'. Remove the use of auto and directly use unsigned. Also see http://llvm.org/PR44768 |
||
---|---|---|
.. | ||
cmake | ||
docs | ||
include/polly | ||
lib | ||
test | ||
tools | ||
unittests | ||
utils | ||
www | ||
.arcconfig | ||
.arclint | ||
.gitattributes | ||
.gitignore | ||
CMakeLists.txt | ||
CREDITS.txt | ||
LICENSE.txt | ||
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.