hanchenye-llvm-project/polly/test
Michael Kruse 7fac28fa4f [ScopDetect] Include zero-iteration loops in loop count.
Loop with zero iteration are, syntactically, loops. They have been
excluded from the loop counter even for the non-profitable counters.
This seems to be unintentially as the sentinel value of '0' minimal
iterations does exclude such loops.

Fix by never considering the iteration count when the sentinel
value of 0 is found.

This makes the recently added NumTotalLoops couter redundant
with NumLoopsOverall, which now is equivalent. Hence, NumTotalLoops
is removed as well.

Note: The test case 'ScopDetect/statistics.ll' effectively does not
check profitability, because -polly-process-unprofitable is passed
to all test cases.

llvm-svn: 311551
2017-08-23 13:29:59 +00:00
..
CodeGen
DeLICM [DeLICM] Properly handle PHI writes becoming empty partial writes. 2017-08-08 11:27:12 +00:00
DeadCodeElimination
DependenceInfo Bump isl to isl-0.18-768-g033b61ae 2017-07-04 15:54:11 +00:00
FlattenSchedule
ForwardOpTree [test] Add descriptions and pseudocode to tests. NFC. 2017-08-08 17:26:19 +00:00
GPGPU test/GPGPU/invalid-kernel-assert-verifymodule.ll also requires assertions 2017-08-22 03:12:29 +00:00
Isl [IRBuilder] Only emit alias scop metadata for arrays, but not scalars 2017-08-22 21:58:48 +00:00
JSONExporter [JSON] Make the failure to parse a jscop file a hard error 2017-08-10 14:53:25 +00:00
MaximalStaticExpansion [Polly][Bug fix] Wrong dependences filtering during Fully Indexed expansion 2017-08-18 15:01:18 +00:00
PruneUnprofitable
RewriteByReferenceParameters Add rewrite by-reference parameter pass 2017-08-17 05:25:08 +00:00
ScheduleOptimizer [IRBuilder] Only emit alias scop metadata for arrays, but not scalars 2017-08-22 21:58:48 +00:00
ScopDetect [ScopDetect] Include zero-iteration loops in loop count. 2017-08-23 13:29:59 +00:00
ScopDetectionDiagnostics [polly] Fix ScopDetectionDiagnostic test failure caused by r310940 2017-08-22 22:01:53 +00:00
ScopInfo [ScopInfo] Add option to treat all function parameters as dereferencible. 2017-08-21 11:57:04 +00:00
ScopInliner [ScopInliner] Add a simple Scop-based inliner to polly. 2017-08-17 21:57:23 +00:00
Simplify [JSON] Make the failure to parse a jscop file a hard error 2017-08-10 14:53:25 +00:00
Unit [Polly][CMake] Skip unit-tests in lit if gtest is not available 2017-07-11 11:37:35 +00:00
UnitIsl
CMakeLists.txt [CMake] Fix r307650: Readd missing dependency. 2017-07-19 19:20:58 +00:00
README
create_ll.sh Make create_ll work with latest LLVM [NFC] 2017-07-07 04:20:55 +00:00
lit.cfg [Polly] [Tests] Update `lit.cfg` uses of `lit.util.capture` to `subprocess.check_output` 2017-07-12 09:42:05 +00:00
lit.site.cfg.in [GPGPU] Add support for NVIDIA libdevice 2017-07-31 14:03:16 +00:00
polly.ll
update_check.py

README

place tests here