execute cloog specific testcases only with CLOOG_FOUND
authorSebastian Pop <spop@codeaurora.org>
Mon, 3 Dec 2012 21:33:40 +0000 (21:33 +0000)
committerSebastian Pop <spop@codeaurora.org>
Mon, 3 Dec 2012 21:33:40 +0000 (21:33 +0000)
llvm-svn: 169159

116 files changed:
polly/test/Cloog/CodeGen/20100617.ll [moved from polly/test/CodeGen/20100617.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100622.ll [moved from polly/test/CodeGen/20100622.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100707.ll [moved from polly/test/CodeGen/20100707.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100707_2.ll [moved from polly/test/CodeGen/20100707_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100708_2.ll [moved from polly/test/CodeGen/20100708_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100713.ll [moved from polly/test/CodeGen/20100713.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100713_2.ll [moved from polly/test/CodeGen/20100713_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100717.ll [moved from polly/test/CodeGen/20100717.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100718-DomInfo-2.ll [moved from polly/test/CodeGen/20100718-DomInfo-2.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100718-DomInfo.ll [moved from polly/test/CodeGen/20100718-DomInfo.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100720-MultipleConditions.ll [moved from polly/test/CodeGen/20100720-MultipleConditions.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100809-IndependentBlock.ll [moved from polly/test/CodeGen/20100809-IndependentBlock.ll with 100% similarity]
polly/test/Cloog/CodeGen/20100811-ScalarDependencyBetweenBrAndCnd.ll [moved from polly/test/CodeGen/20100811-ScalarDependencyBetweenBrAndCnd.ll with 100% similarity]
polly/test/Cloog/CodeGen/20101030-Overflow.ll [moved from polly/test/CodeGen/20101030-Overflow.ll with 100% similarity]
polly/test/Cloog/CodeGen/20101103-Overflow3.ll [moved from polly/test/CodeGen/20101103-Overflow3.ll with 100% similarity]
polly/test/Cloog/CodeGen/20101103-signmissmatch.ll [moved from polly/test/CodeGen/20101103-signmissmatch.ll with 100% similarity]
polly/test/Cloog/CodeGen/20110226-Ignore-Dead-Code.ll [moved from polly/test/CodeGen/20110226-Ignore-Dead-Code.ll with 100% similarity]
polly/test/Cloog/CodeGen/20110226-PHI-Node-removed.ll [moved from polly/test/CodeGen/20110226-PHI-Node-removed.ll with 100% similarity]
polly/test/Cloog/CodeGen/20120316-InvalidCast.ll [moved from polly/test/CodeGen/20120316-InvalidCast.ll with 100% similarity]
polly/test/Cloog/CodeGen/20120403-RHS-type-mismatch.ll [moved from polly/test/CodeGen/20120403-RHS-type-mismatch.ll with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/2d_innermost_parallel.ll [moved from polly/test/CodeGen/GPGPU/2d_innermost_parallel.ll with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/3d_innermost_non_parallel.ll [moved from polly/test/CodeGen/GPGPU/3d_innermost_non_parallel.ll with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/gpu_no_pure___%for.cond---%for.end18.jscop [moved from polly/test/CodeGen/GPGPU/gpu_no_pure___%for.cond---%for.end18.jscop with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/gpu_no_pure___%for.cond---%for.end18.jscop.transformed+gpu [moved from polly/test/CodeGen/GPGPU/gpu_no_pure___%for.cond---%for.end18.jscop.transformed+gpu with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/gpu_pure___%for.cond---%for.end8.jscop [moved from polly/test/CodeGen/GPGPU/gpu_pure___%for.cond---%for.end8.jscop with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/gpu_pure___%for.cond---%for.end8.jscop.transformed+gpu [moved from polly/test/CodeGen/GPGPU/gpu_pure___%for.cond---%for.end8.jscop.transformed+gpu with 100% similarity]
polly/test/Cloog/CodeGen/GPGPU/lit.local.cfg [moved from polly/test/CodeGen/GPGPU/lit.local.cfg with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_constant_offset.ll [moved from polly/test/CodeGen/MemAccess/codegen_constant_offset.ll with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop [moved from polly/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed [moved from polly/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple.ll [moved from polly/test/CodeGen/MemAccess/codegen_simple.ll with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop [moved from polly/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed [moved from polly/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple_md.ll [moved from polly/test/CodeGen/MemAccess/codegen_simple_md.ll with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop [moved from polly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withconst [moved from polly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withconst with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withoutconst [moved from polly/test/CodeGen/MemAccess/codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withoutconst with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple.ll [moved from polly/test/CodeGen/MemAccess/simple.ll with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop [moved from polly/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed [moved from polly/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop [moved from polly/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed [moved from polly/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed with 100% similarity]
polly/test/Cloog/CodeGen/MemAccess/simple_analyze.ll [moved from polly/test/CodeGen/MemAccess/simple_analyze.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/20120330-argument-use.ll [moved from polly/test/CodeGen/OpenMP/20120330-argument-use.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/add_memref.ll [moved from polly/test/CodeGen/OpenMP/add_memref.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/clastvar_after_parallel_loop.ll [moved from polly/test/CodeGen/OpenMP/clastvar_after_parallel_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/copy_in_argument.ll [moved from polly/test/CodeGen/OpenMP/copy_in_argument.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/copy_in_temporary.ll [moved from polly/test/CodeGen/OpenMP/copy_in_temporary.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/extract_memref.ll [moved from polly/test/CodeGen/OpenMP/extract_memref.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/invalidate_subfn_scops.ll [moved from polly/test/CodeGen/OpenMP/invalidate_subfn_scops.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/lit.local.cfg [moved from polly/test/CodeGen/OpenMP/lit.local.cfg with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/parallel_loop.ll [moved from polly/test/CodeGen/OpenMP/parallel_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/parallel_loop___%bb18---%bb50.jscop [moved from polly/test/CodeGen/OpenMP/parallel_loop___%bb18---%bb50.jscop with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/parallel_loop___%bb18---%bb50.jscop.tiled [moved from polly/test/CodeGen/OpenMP/parallel_loop___%bb18---%bb50.jscop.tiled with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/parallel_loop_simple.ll [moved from polly/test/CodeGen/OpenMP/parallel_loop_simple.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/parallel_loop_simple2.ll [moved from polly/test/CodeGen/OpenMP/parallel_loop_simple2.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/param_referenced_in_stmt.ll [moved from polly/test/CodeGen/OpenMP/param_referenced_in_stmt.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/simple_nested_loop.ll [moved from polly/test/CodeGen/OpenMP/simple_nested_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/structnames.ll [moved from polly/test/CodeGen/OpenMP/structnames.ll with 100% similarity]
polly/test/Cloog/CodeGen/OpenMP/two_loop.ll [moved from polly/test/CodeGen/OpenMP/two_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/PHIInExit.ll [moved from polly/test/CodeGen/PHIInExit.ll with 100% similarity]
polly/test/Cloog/CodeGen/constant_condition.ll [moved from polly/test/CodeGen/constant_condition.ll with 100% similarity]
polly/test/Cloog/CodeGen/do_pluto_matmult.ll [moved from polly/test/CodeGen/do_pluto_matmult.ll with 100% similarity]
polly/test/Cloog/CodeGen/do_pluto_matmult.ll.result [moved from polly/test/CodeGen/do_pluto_matmult.ll.result with 100% similarity]
polly/test/Cloog/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop [moved from polly/test/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop with 100% similarity]
polly/test/Cloog/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop.invalid_reverse [moved from polly/test/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop.invalid_reverse with 100% similarity]
polly/test/Cloog/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop.valid_reverse [moved from polly/test/CodeGen/do_pluto_matmult___%do.body---%do.end45.jscop.valid_reverse with 100% similarity]
polly/test/Cloog/CodeGen/loop_with_condition.ll [moved from polly/test/CodeGen/loop_with_condition.ll with 100% similarity]
polly/test/Cloog/CodeGen/loop_with_condition_2.ll [moved from polly/test/CodeGen/loop_with_condition_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/loop_with_condition_ineq.ll [moved from polly/test/CodeGen/loop_with_condition_ineq.ll with 100% similarity]
polly/test/Cloog/CodeGen/loop_with_condition_nested.ll [moved from polly/test/CodeGen/loop_with_condition_nested.ll with 100% similarity]
polly/test/Cloog/CodeGen/matmul_vec.ll [moved from polly/test/CodeGen/matmul_vec.ll with 100% similarity]
polly/test/Cloog/CodeGen/matmul_vec___%1---%17.jscop [moved from polly/test/CodeGen/matmul_vec___%1---%17.jscop with 100% similarity]
polly/test/Cloog/CodeGen/pluto_matmult.ll [moved from polly/test/CodeGen/pluto_matmult.ll with 100% similarity]
polly/test/Cloog/CodeGen/pluto_matmult___%for.cond---%for.end47.jscop [moved from polly/test/CodeGen/pluto_matmult___%for.cond---%for.end47.jscop with 100% similarity]
polly/test/Cloog/CodeGen/reduction_2.ll [moved from polly/test/CodeGen/reduction_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/sequential_loops.ll [moved from polly/test/CodeGen/sequential_loops.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_nonaffine_loop.ll [moved from polly/test/CodeGen/simple_nonaffine_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_assign_scalar.ll [moved from polly/test/CodeGen/simple_vec_assign_scalar.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_assign_scalar_2.ll [moved from polly/test/CodeGen/simple_vec_assign_scalar_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_call.ll [moved from polly/test/CodeGen/simple_vec_call.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_call_2.ll [moved from polly/test/CodeGen/simple_vec_call_2.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_cast.ll [moved from polly/test/CodeGen/simple_vec_cast.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_const.ll [moved from polly/test/CodeGen/simple_vec_const.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_large_width.ll [moved from polly/test/CodeGen/simple_vec_large_width.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_ptr_ptr_ty.ll [moved from polly/test/CodeGen/simple_vec_ptr_ptr_ty.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_stride_one.ll [moved from polly/test/CodeGen/simple_vec_stride_one.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_stride_one___%1---%5.jscop [moved from polly/test/CodeGen/simple_vec_stride_one___%1---%5.jscop with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_stride_x.ll [moved from polly/test/CodeGen/simple_vec_stride_x.ll with 100% similarity]
polly/test/Cloog/CodeGen/simple_vec_two_stmts.ll [moved from polly/test/CodeGen/simple_vec_two_stmts.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_do_loop_int_max_iterations.ll [moved from polly/test/CodeGen/single_do_loop_int_max_iterations.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_do_loop_ll_max_iterations.ll [moved from polly/test/CodeGen/single_do_loop_ll_max_iterations.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_do_loop_scev_replace.ll [moved from polly/test/CodeGen/single_do_loop_scev_replace.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop.ll [moved from polly/test/CodeGen/single_loop.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop_int_max_iterations.ll [moved from polly/test/CodeGen/single_loop_int_max_iterations.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop_ll_max_iterations.ll [moved from polly/test/CodeGen/single_loop_ll_max_iterations.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop_one_iteration.ll [moved from polly/test/CodeGen/single_loop_one_iteration.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop_param.ll [moved from polly/test/CodeGen/single_loop_param.ll with 100% similarity]
polly/test/Cloog/CodeGen/single_loop_zero_iterations.ll [moved from polly/test/CodeGen/single_loop_zero_iterations.ll with 100% similarity]
polly/test/Cloog/CodeGen/split_edges.ll [moved from polly/test/CodeGen/split_edges.ll with 100% similarity]
polly/test/Cloog/CodeGen/split_edges_2.ll [moved from polly/test/CodeGen/split_edges_2.ll with 100% similarity]
polly/test/Cloog/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll [moved from polly/test/ScheduleOptimizer/2011-08-25-crash_in_vectorizer.ll with 100% similarity]
polly/test/Cloog/ScopDetection/single_function_only.ll [moved from polly/test/ScopDetection/single_function_only.ll with 100% similarity]
polly/test/Cloog/lit.local.cfg [new file with mode: 0644]
polly/test/Isl/CodeGen/20100708.ll [moved from polly/test/CodeGen/20100708.ll with 100% similarity]
polly/test/Isl/CodeGen/20110312-Fail-without-basicaa.ll [moved from polly/test/CodeGen/20110312-Fail-without-basicaa.ll with 100% similarity]
polly/test/Isl/CodeGen/20120316-InvalidCast.ll [new file with mode: 0644]
polly/test/Isl/CodeGen/20120403-RHS-type-mismatch.ll [new file with mode: 0755]
polly/test/Isl/CodeGen/reduction.ll [moved from polly/test/CodeGen/reduction.ll with 100% similarity]
polly/test/Isl/CodeGen/scev.ll [moved from polly/test/CodeGen/scev.ll with 100% similarity]
polly/test/Isl/CodeGen/single_do_loop_int_max_iterations___%do.body---%do.end.jscop [moved from polly/test/CodeGen/single_do_loop_int_max_iterations___%do.body---%do.end.jscop with 100% similarity]
polly/test/Isl/CodeGen/single_do_loop_int_param_iterations.ll [moved from polly/test/CodeGen/single_do_loop_int_param_iterations.ll with 100% similarity]
polly/test/Isl/CodeGen/single_do_loop_one_iteration.ll [moved from polly/test/CodeGen/single_do_loop_one_iteration.ll with 100% similarity]
polly/test/Isl/CodeGen/test.ll [moved from polly/test/CodeGen/test.ll with 100% similarity]
polly/test/Isl/single_loop_uint_max_iterations.ll [moved from polly/test/CodeGen/single_loop_uint_max_iterations.ll with 100% similarity]
polly/test/Isl/single_loop_ull_max_iterations.ll [moved from polly/test/CodeGen/single_loop_ull_max_iterations.ll with 100% similarity]

diff --git a/polly/test/Cloog/lit.local.cfg b/polly/test/Cloog/lit.local.cfg
new file mode 100644 (file)
index 0000000..16e7384
--- /dev/null
@@ -0,0 +1,3 @@
+cloog = config.root.cloog_found
+if cloog not in ['TRUE', 'true'] :
+    config.unsupported = True
diff --git a/polly/test/Isl/CodeGen/20120316-InvalidCast.ll b/polly/test/Isl/CodeGen/20120316-InvalidCast.ll
new file mode 100644 (file)
index 0000000..c95545f
--- /dev/null
@@ -0,0 +1,20 @@
+; RUN: opt %loadPolly %defaultOpts -polly-codegen-isl %s
+
+target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
+target triple = "hexagon-unknown-linux-gnu"
+
+define void @fixup_gotos(i32* %A, i32* %data) nounwind {
+entry:
+  br label %if
+
+if:
+  %cond = icmp eq i32* %A, null
+  br i1 %cond, label %last, label %then
+
+then:
+  store i32 1, i32* %data, align 4
+  br label %last
+
+last:
+  ret void
+}
diff --git a/polly/test/Isl/CodeGen/20120403-RHS-type-mismatch.ll b/polly/test/Isl/CodeGen/20120403-RHS-type-mismatch.ll
new file mode 100755 (executable)
index 0000000..65f6240
--- /dev/null
@@ -0,0 +1,27 @@
+; RUN: opt %loadPolly -polly-codegen-isl %s
+
+; We just check that this compilation does not crash.
+
+target datalayout = "e-p:32:32:32-i64:64:64-i32:32:32-i16:16:16-i1:32:32-f64:64:64-f32:32:32-a0:0-n32"
+target triple = "hexagon-unknown-linux-gnu"
+
+define void @init() nounwind {
+entry:
+  %hi.129.reg2mem = alloca i64
+  br label %for.body
+
+for.cond5.preheader:                              ; preds = %for.body
+  br label %for.body7
+
+for.body:                                         ; preds = %for.body, %entry
+  br i1 undef, label %for.body, label %for.cond5.preheader
+
+for.body7:                                        ; preds = %for.body7, %for.cond5.preheader
+  %i.128 = phi i64 [ 0, %for.cond5.preheader ], [ %inc17, %for.body7 ]
+  %inc17 = add nsw i64 %i.128, 1
+  store i64 undef, i64* %hi.129.reg2mem
+  br i1 false, label %for.body7, label %for.end18
+
+for.end18:                                        ; preds = %for.body7
+  unreachable
+}