hanchenye-llvm-project/polly/lib/Analysis
Michael Kruse a43ba2d84f [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
2018-02-03 06:59:47 +00:00
..
DependenceInfo.cpp [ScopInfo] Move Scop::getPwAffOnly to isl++ [NFC] 2017-08-06 21:42:38 +00:00
PolyhedralInfo.cpp [ScopInfo] Translate Scop::getParamSpace to isl++ [NFC] 2017-08-06 20:11:59 +00:00
PruneUnprofitable.cpp [Polly] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-08-25 21:35:27 +00:00
ScopBuilder.cpp [ScopBuilder] Make -polly-stmt-granularity=scalar-indep the default. 2018-02-03 06:59:47 +00:00
ScopDetection.cpp Update to latest clang-format. [NFC] 2017-12-05 00:06:09 +00:00
ScopDetectionDiagnostic.cpp Run clang-format after r324003. NFC. 2018-02-02 18:11:58 +00:00
ScopGraphPrinter.cpp
ScopInfo.cpp [ScopBuilder] Prefer PHI Write accesses in the statement the incoming value is defined. 2018-01-23 23:56:36 +00:00
ScopPass.cpp Rename OptimizationDiagnosticInfo.h to OptimizationRemarkEmitter.h 2017-10-09 23:49:08 +00:00