diff options
| author | Michael Kruse <llvm@meinersbur.de> | 2018-02-03 06:59:47 +0000 |
|---|---|---|
| committer | Michael Kruse <llvm@meinersbur.de> | 2018-02-03 06:59:47 +0000 |
| commit | a43ba2d84f23e95b28fe22daafe7c056a20f8ba2 (patch) | |
| tree | e11bf7394867d8c0ed30c65f5a3983ff4c8c88f2 /polly/test/JSONExporter/ImportArrays | |
| parent | 217704f7a88244b6fc63008dc4518bf2cf2b3301 (diff) | |
| download | bcm5719-llvm-a43ba2d84f23e95b28fe22daafe7c056a20f8ba2.tar.gz bcm5719-llvm-a43ba2d84f23e95b28fe22daafe7c056a20f8ba2.zip | |
[ScopBuilder] Make -polly-stmt-granularity=scalar-indep the default.
Splitting basic blocks into multiple statements if there are now
additional scalar dependencies gives more freedom to the scheduler, but
more statements also means higher compile-time complexity. Switch to
finer statement granularity, the additional compile time should be
limited by the number of operations quota.
The regression tests are written for the -polly-stmt-granularity=bb
setting, therefore we add that flag to those tests that break with the
new default. Some of the tests only fail because the statements are
named differently due to a basic block resulting in multiple statements,
but which are removed during simplification of statements without
side-effects. Previous commits tried to reduce this effect, but it is
not completely avoidable.
Differential Revision: https://reviews.llvm.org/D42151
llvm-svn: 324169
Diffstat (limited to 'polly/test/JSONExporter/ImportArrays')
| -rw-r--r-- | polly/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll b/polly/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll index 16e5071f27c..3e8e67f75da 100644 --- a/polly/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll +++ b/polly/test/JSONExporter/ImportArrays/ImportArrays-Negative-size.ll @@ -1,4 +1,4 @@ -; RUN: not opt %loadPolly -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s 2>&1 | FileCheck %s +; RUN: not opt %loadPolly -polly-stmt-granularity=bb -polly-scops -analyze -polly-import-jscop -polly-import-jscop-postfix=transformed < %s 2>&1 | FileCheck %s ; ; #define Ni 1056 ; #define Nj 1056 |

