[polly] r231599 - Drop meaningless test case
Tobias Grosser
tobias at grosser.es
Sun Mar 8 09:12:47 PDT 2015
Author: grosser
Date: Sun Mar 8 11:12:47 2015
New Revision: 231599
URL: http://llvm.org/viewvc/llvm-project?rev=231599&view=rev
Log:
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
Removed:
polly/trunk/test/ScopInfo/NonAffine/non_affine_access_with_range.ll
Removed: polly/trunk/test/ScopInfo/NonAffine/non_affine_access_with_range.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/ScopInfo/NonAffine/non_affine_access_with_range.ll?rev=231598&view=auto
==============================================================================
--- polly/trunk/test/ScopInfo/NonAffine/non_affine_access_with_range.ll (original)
+++ polly/trunk/test/ScopInfo/NonAffine/non_affine_access_with_range.ll (removed)
@@ -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
-}
More information about the llvm-commits
mailing list