diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-08-27 16:55:18 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-08-27 16:55:18 +0000 |
commit | ed21a1fc7e805199b331e00f9f912fe3d5662181 (patch) | |
tree | 699c40340dc7578a1b93d2a9076fad57d40441f1 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | 36c6f6b874e85bfcb8bf6647ded485813748847e (diff) | |
download | llvm-ed21a1fc7e805199b331e00f9f912fe3d5662181.zip llvm-ed21a1fc7e805199b331e00f9f912fe3d5662181.tar.gz llvm-ed21a1fc7e805199b331e00f9f912fe3d5662181.tar.bz2 |
Do not detect Scops with only one loop.
If a region does not have more than one loop, we do not identify it as
a Scop in ScopDetection. The main optimizations Polly is currently performing
(tiling, preparation for outer-loop vectorization and loop fusion) are unlikely
to have a positive impact on individual loops. In some cases, Polly's run-time
alias checks or conditional hoisting may still have a positive impact, but those
are mostly enabling transformations which LLVM already performs for individual
loops. As we do not focus on individual loops, we leave them untouched to not
introduce compile time regressions and execution time noise. This results in
good compile time reduction (oourafft: -73.99%, smg2000: -56.25%).
Contributed-by: Pratik Bhatu <cs12b1010@iith.ac.in>
Reviewers: grosser
Differential Revision: http://reviews.llvm.org/D12268
llvm-svn: 246161
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions