hanchenye-llvm-project/polly/test
Tobias Grosser a3aa423fc3 [ScopDetection] If a loop is not part of a scop, none of it backedges can be
This patch makes sure that in case a loop is not fully contained within a region
that later forms a SCoP, none of the loop backedges are allowed to be part of
the region. We currently do not support the situation where only some of a loops
backedges are part of a scop. Today, this can break both scop modeling and code
generation. One such breaking test case is for example
test/ScopDetectionDiagnostics/loop_partially_in_scop-2.ll, where we totally
forgot to code generate some of the backedges. Fortunately, it is commonly not
necessary to support these partial loops, it is way more common that either
no backedge is included in a region or all loop backedge are included.

This fixes a recent miscompile in
MultiSource/Benchmarks/MiBench/consumer-typeset which was exposed after
r306477.

llvm-svn: 308113
2017-07-15 22:42:17 +00:00
..
CodeGen [Polly] Fix code generation of llvm.expect intrinsic 2017-05-14 09:09:54 +00:00
DeLICM [Invariant Loads] Do not consider invariant loads to have dependences. 2017-07-13 12:18:56 +00:00
DeadCodeElimination [Polly] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-15 06:12:29 +00:00
DependenceInfo Bump isl to isl-0.18-768-g033b61ae 2017-07-04 15:54:11 +00:00
FlattenSchedule Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00
GPGPU [PPCGCodeGeneration] Fix runtime check adjustments since they make assumptions about BB layout. 2017-07-14 10:00:25 +00:00
Isl [ScopDetection] If a loop is not part of a scop, none of it backedges can be 2017-07-15 22:42:17 +00:00
JSONExporter [tests] Set -polly-import-jscop-dir=%S always 2017-07-11 10:39:01 +00:00
PruneUnprofitable [PruneUnprofitable] Add -polly-prune-unprofitable pass. 2017-03-17 13:09:52 +00:00
ScheduleOptimizer Bump isl to isl-0.18-768-g033b61ae 2017-07-04 15:54:11 +00:00
ScopDetect [tests] Set -polly-import-jscop-dir=%S always 2017-07-11 10:39:01 +00:00
ScopDetectionDiagnostics [ScopDetection] If a loop is not part of a scop, none of it backedges can be 2017-07-15 22:42:17 +00:00
ScopInfo [Invariant Loads] Do not consider invariant loads to have dependences. 2017-07-13 12:18:56 +00:00
Simplify [Simplify] Also remove redundant writes which originally came from PHI nodes 2017-07-11 14:29:39 +00:00
Unit [Polly][CMake] Skip unit-tests in lit if gtest is not available 2017-07-11 11:37:35 +00:00
UnitIsl [CMake] Fix polly-isl-test execution in out-of-LLVM-tree builds. 2017-04-22 23:02:53 +00:00
CMakeLists.txt [Polly][CMake] Skip unit-tests in lit if gtest is not available 2017-07-11 11:37:35 +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 [Polly][CMake] Use the CMake Package instead of llvm-config in out-of-tree builds 2017-07-11 11:24:25 +00:00
polly.ll
update_check.py Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00

README

place tests here