diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-03-08 19:12:47 +0300 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-03-08 19:12:47 +0300 |
commit | f3c17e65d1a4f06989b0b5ba2299ed4b7e0d98bc (patch) | |
tree | 6adbdcf11d1aafd5cb5f1dfc3a64b91f099db555 /polly/test | |
parent | 57a3d084cde0fc8be03479f8fd32177d153cbcee (diff) |
Drop meaningless test case
This test case was supposed to test the range analysis but it became just
another delinearization test case after enabling delinearization.
Suggested-by: Johannes Doerfert
llvm-svn: 231599
Diffstat (limited to 'polly/test')
-rw-r--r-- | polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll b/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll deleted file mode 100644 index b5fbe94c765b..000000000000 --- a/polly/test/ScopInfo/NonAffine/non_affine_access_with_range.ll +++ /dev/null @@ -1,44 +0,0 @@ -; RUN: opt %loadPolly -polly-detect-unprofitable -polly-scops -polly-allow-nonaffine -analyze < %s | FileCheck %s -; -; void f(int *A, char c) { -; for (int i = 0; i < 1024; i++) -; A[i * c - 3]++; -; } -; -; CHECK: Assumed Context: -; CHECK: [p_0] -> { : 1 = 0 } -; CHECK: ReadAccess := [Reduction Type: +] [Scalar: 0] -; CHECK: [p_0] -> { Stmt_bb2[i0] -> MemRef_A[i0, -3] }; -; CHECK: MustWriteAccess := [Reduction Type: +] [Scalar: 0] -; CHECK: [p_0] -> { Stmt_bb2[i0] -> MemRef_A[i0, -3] }; - -; -target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" - -define void @f(i32* %A, i8 %c) { -bb: - br label %bb1 - -bb1: ; preds = %bb8, %bb - %indvars.iv = phi i64 [ %indvars.iv.next, %bb8 ], [ 0, %bb ] - %exitcond = icmp ne i64 %indvars.iv, 1024 - br i1 %exitcond, label %bb2, label %bb9 - -bb2: ; preds = %bb1 - %tmp = zext i8 %c to i32 - %tmp3 = zext i32 %tmp to i64 - %tmp4 = mul nuw nsw i64 %indvars.iv, %tmp3 - %tmp4b = add nsw nuw i64 %tmp4, -3 - %tmp5 = getelementptr inbounds i32, i32* %A, i64 %tmp4b - %tmp6 = load i32, i32* %tmp5, align 4 - %tmp7 = add nsw i32 %tmp6, 1 - store i32 %tmp7, i32* %tmp5, align 4 - br label %bb8 - -bb8: ; preds = %bb2 - %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 - br label %bb1 - -bb9: ; preds = %bb1 - ret void -} |