llvm-project/polly/test/Isl/CodeGen/OpenMP
Hongbin Zheng 4fe342cb75 [Polly] Generate more 'canonical' induction variable
Today Polly generates induction variable in this way:

polly.indvar = phi 0, polly.indvar.next
...
polly.indvar.next = polly.indvar + stide
polly.loop_cond = predicate polly.indvar, (UB - stride)

Instead of:

polly.indvar = phi 0, polly.indvar.next
...
polly.indvar.next = polly.indvar + stide
polly.loop_cond = predicate polly.indvar.next, UB

The way Polly generate induction variable cause some problem in the indvar simplify pass.
This patch make polly generate the later form, by assuming the induction variable never overflow

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

llvm-svn: 302866
2017-05-12 02:17:15 +00:00
..
alias-metadata.ll Do not use '.' in subfunction names 2015-09-08 06:22:17 +00:00
invariant_base_pointer_preloaded.ll [tests] Force invariant load hoisting for test cases that need it 2016-08-15 13:27:49 +00:00
invariant_base_pointer_preloaded_different_bb.ll [tests] Force invariant load hoisting for test cases that need it 2016-08-15 13:27:49 +00:00
invariant_base_pointer_preloaded_pass_only_needed.ll [tests] Force invariant load hoisting for test cases that need it 2016-08-15 13:27:49 +00:00
invariant_base_pointers_preloaded.ll [tests] Force invariant load hoisting for test cases that need it 2016-08-15 13:27:49 +00:00
loop-body-references-outer-iv.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
loop-body-references-outer-values-2.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
loop-body-references-outer-values-3.ll [ScopDetection] Require LoadInst base pointers to be hoisted. 2017-03-07 20:28:43 +00:00
loop-body-references-outer-values.ll [OpenMP] Do not emit lifetime markers for context 2017-03-18 20:10:07 +00:00
loop-bounds-reference-outer-ids.ll [OpenMP] Do not emit lifetime markers for context 2017-03-18 20:10:07 +00:00
new_multidim_access.ll This reverts recent expression type changes 2016-06-11 19:17:15 +00:00
new_multidim_access___%bb1---%bb17.jscop Add forgotten .jscop file 2015-09-05 10:58:13 +00:00
recomputed-srem.ll This reverts recent expression type changes 2016-06-11 19:17:15 +00:00
reference-argument-from-non-affine-region.ll [tests] Make sure tests do not end in 'unreachable' 2017-03-07 15:17:23 +00:00
reference-other-bb.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
reference-preceeding-loop.ll Separate more constant factors of parameters 2016-02-14 22:30:56 +00:00
single_loop.ll [Polly] Generate more 'canonical' induction variable 2017-05-12 02:17:15 +00:00
single_loop_with_loop_invariant_baseptr.ll [ScopDetection] Require LoadInst base pointers to be hoisted. 2017-03-07 20:28:43 +00:00
single_loop_with_param.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00
single_parallel_loop___%for.i---%exit.jscop
two-parallel-loops-reference-outer-indvar.ll tests: Drop -polly-detect-unprofitable and -polly-no-early-exit 2015-10-06 15:36:44 +00:00