hanchenye-llvm-project/polly/test
Tobias Grosser e1ff0cf2eb Relax assert when setting access functions with invariant base pointers
Summary:
Instead of forbidding such access functions completely, we verify that their
base pointer has been hoisted and only assert in case the base pointer was
not hoisted.

I was trying for a little while to get a test case that ensures the assert is
correctly fired in case of invariant load hoisting being disabled, but I could
not find a good way to do so, as llvm-lit immediately aborts if a command
yields a non-zero return value. As we do not generally test our asserts,
not having a test case here seems OK.

This resolves http://llvm.org/PR31494

Suggested-by: Michael Kruse <llvm@meinersbur.de>

Reviewers: efriedma, jdoerfert, Meinersbur, gareevroman, sebpop, zinob, huihuiz, pollydev

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D28798

llvm-svn: 292213
2017-01-17 12:00:42 +00:00
..
CodeGen/OpenMP Update to ISL 0.17. 2016-05-04 14:41:36 +00:00
DeLICM [DeLICM] Add pass boilerplate code. 2016-11-29 16:41:21 +00:00
DeadCodeElimination [Polly] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-15 06:12:29 +00:00
DependenceInfo [GSoC] Do not process SCoPs with infeasible runtime context 2016-07-25 12:40:59 +00:00
FlattenSchedule Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00
GPGPU Un-XFAIL test case after half support was added to PTX backend in r291956 2017-01-16 14:08:14 +00:00
Isl Relax assert when setting access functions with invariant base pointers 2017-01-17 12:00:42 +00:00
ScheduleOptimizer ScheduleOptimizer: Allow to set register width in command line 2017-01-14 07:14:54 +00:00
ScopDetect test: add more details to non-affine test case 2016-11-22 06:28:08 +00:00
ScopDetectionDiagnostics [ScopDetection] Remove redundant checks for endless loops 2016-09-20 17:05:22 +00:00
ScopInfo Update tests to more precise analysis results in LLVM core 2017-01-11 22:53:34 +00:00
Unit Introduce unittests. 2016-08-25 12:36:15 +00:00
UnitIsl Build and run isl_test as part of check-polly 2016-10-04 19:48:40 +00:00
CMakeLists.txt [cmake] Add polly-isl-test dependency to lit tests. 2016-10-16 21:35:57 +00:00
README
create_ll.sh
lit.cfg
lit.site.cfg.in GPGPU: create default initialized PPCG scop and gpu program 2016-07-14 10:22:19 +00:00
polly.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
update_check.py Add -polly-flatten-schedule pass. 2016-09-08 15:02:36 +00:00

README

place tests here