[llvm-commits] [polly] r153320 - /polly/trunk/test/CodeGen/MemAccess/
Tobias Grosser
grosser at fim.uni-passau.de
Fri Mar 23 01:24:04 PDT 2012
Author: grosser
Date: Fri Mar 23 03:24:04 2012
New Revision: 153320
URL: http://llvm.org/viewvc/llvm-project?rev=153320&view=rev
Log:
test: Remove memaccess prefix
The prefix is not needed, as all test cases are already in a separate folder.
Added:
polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.c
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c
polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.ll
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll
polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/codegen_simple.c
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c
polly/trunk/test/CodeGen/MemAccess/codegen_simple.ll
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll
polly/trunk/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/simple.c
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c
polly/trunk/test/CodeGen/MemAccess/simple.ll
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll
polly/trunk/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop
polly/trunk/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/simple_analyze.ll
- copied, changed from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll
Removed:
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c
polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll
polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop
polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop
polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed
polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.c (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.c?p2=polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.c&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.c Fri Mar 23 03:24:04 2012
@@ -1,6 +1,6 @@
int A[100];
-int memaccess_codegen_simple () {
+int codegen_constant_offset() {
for (int i = 0; i < 12; i++)
A[13] = A[i] + A[i-1];
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.ll (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.ll?p2=polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.ll&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset.ll Fri Mar 23 03:24:04 2012
@@ -1,11 +1,11 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -polly-codegen -instnamer %s -S | FileCheck %s
-; ModuleID = 'memaccess_codegen_constant_offset.ll'
+; ModuleID = 'codegen_constant_offset.ll'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
@A = common global [100 x i32] zeroinitializer, align 4
-define i32 @memaccess_codegen_constant_offset() nounwind {
+define i32 @codegen_constant_offset() nounwind {
entry:
br label %for.cond
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%25for.cond---%25for.end.jscop?p2=polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%25for.cond---%25for.end.jscop&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%25for.cond---%25for.end.jscop&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%for.cond---%for.end.jscop.transformed (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%25for.cond---%25for.end.jscop.transformed?p2=polly/trunk/test/CodeGen/MemAccess/codegen_constant_offset___%25for.cond---%25for.end.jscop.transformed&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%25for.cond---%25for.end.jscop.transformed&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_simple.c (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_simple.c?p2=polly/trunk/test/CodeGen/MemAccess/codegen_simple.c&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/codegen_simple.c Fri Mar 23 03:24:04 2012
@@ -1,6 +1,6 @@
int A[100];
-int memaccess_codegen_constant_offset() {
+int codegen_simple () {
for (int i = 0; i < 12; i++)
A[13] = A[i] + A[i-1];
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_simple.ll (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_simple.ll?p2=polly/trunk/test/CodeGen/MemAccess/codegen_simple.ll&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/codegen_simple.ll Fri Mar 23 03:24:04 2012
@@ -1,11 +1,11 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -polly-codegen -instnamer %s -S | FileCheck %s
-; ModuleID = 'memaccess_codegen_simple.ll'
+; ModuleID = 'codegen_simple.ll'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
@A = common global [100 x i32] zeroinitializer, align 4
-define i32 @memaccess_codegen_simple() nounwind {
+define i32 @codegen_simple() nounwind {
entry:
br label %for.cond
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_simple___%25for.cond---%25for.end.jscop?p2=polly/trunk/test/CodeGen/MemAccess/codegen_simple___%25for.cond---%25for.end.jscop&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%25for.cond---%25for.end.jscop&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/codegen_simple___%for.cond---%for.end.jscop.transformed (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/codegen_simple___%25for.cond---%25for.end.jscop.transformed?p2=polly/trunk/test/CodeGen/MemAccess/codegen_simple___%25for.cond---%25for.end.jscop.transformed&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%25for.cond---%25for.end.jscop.transformed&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.c (removed)
@@ -1,8 +0,0 @@
-int A[100];
-
-int memaccess_codegen_constant_offset() {
- for (int i = 0; i < 12; i++)
- A[13] = A[i] + A[i-1];
-
- return 0;
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset.ll (removed)
@@ -1,34 +0,0 @@
-;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -polly-codegen -instnamer %s -S | FileCheck %s
-; ModuleID = 'memaccess_codegen_constant_offset.ll'
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
-target triple = "i386-pc-linux-gnu"
-
- at A = common global [100 x i32] zeroinitializer, align 4
-
-define i32 @memaccess_codegen_constant_offset() nounwind {
-entry:
- br label %for.cond
-
-for.cond: ; preds = %for.inc, %entry
- %tmp1 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
- %tmp = add i32 %tmp1, -1
- %arrayidx4 = getelementptr [100 x i32]* @A, i32 0, i32 %tmp
- %arrayidx = getelementptr [100 x i32]* @A, i32 0, i32 %tmp1
- %exitcond = icmp ne i32 %tmp1, 12
- br i1 %exitcond, label %for.body, label %for.end
-
-for.body: ; preds = %for.cond
- %tmp2 = load i32* %arrayidx, align 4
- %tmp5 = load i32* %arrayidx4, align 4
- %add = add nsw i32 %tmp2, %tmp5
- store i32 %add, i32* getelementptr inbounds ([100 x i32]* @A, i32 0, i32 13), align 4
- br label %for.inc
-
-for.inc: ; preds = %for.body
- %inc = add nsw i32 %tmp1, 1
- br label %for.cond
-
-for.end: ; preds = %for.cond
- ret i32 0
-}
-; CHECK: load i32* getelementptr inbounds ([100 x i32]* @A, i64 0, i64 10)
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%25for.cond---%25for.end.jscop?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop (removed)
@@ -1,25 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[i0] }"
- },
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[-1 + i0] }"
- },
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[13] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%25for.cond---%25for.end.jscop.transformed?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_constant_offset___%for.cond---%for.end.jscop.transformed (removed)
@@ -1,25 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[10] }"
- },
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[-1 + i0] }"
- },
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[13] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.c (removed)
@@ -1,8 +0,0 @@
-int A[100];
-
-int memaccess_codegen_simple () {
- for (int i = 0; i < 12; i++)
- A[13] = A[i] + A[i-1];
-
- return 0;
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple.ll (removed)
@@ -1,34 +0,0 @@
-;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -polly-codegen -instnamer %s -S | FileCheck %s
-; ModuleID = 'memaccess_codegen_simple.ll'
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
-target triple = "i386-pc-linux-gnu"
-
- at A = common global [100 x i32] zeroinitializer, align 4
-
-define i32 @memaccess_codegen_simple() nounwind {
-entry:
- br label %for.cond
-
-for.cond: ; preds = %for.inc, %entry
- %tmp1 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
- %tmp = add i32 %tmp1, -1
- %arrayidx4 = getelementptr [100 x i32]* @A, i32 0, i32 %tmp
- %arrayidx = getelementptr [100 x i32]* @A, i32 0, i32 %tmp1
- %exitcond = icmp ne i32 %tmp1, 12
- br i1 %exitcond, label %for.body, label %for.end
-
-for.body: ; preds = %for.cond
- %tmp2 = load i32* %arrayidx, align 4
- %tmp5 = load i32* %arrayidx4, align 4
- %add = add nsw i32 %tmp2, %tmp5
- store i32 %add, i32* getelementptr inbounds ([100 x i32]* @A, i32 0, i32 13), align 4
- br label %for.inc
-
-for.inc: ; preds = %for.body
- %inc = add nsw i32 %tmp1, 1
- br label %for.cond
-
-for.end: ; preds = %for.cond
- ret i32 0
-}
-; CHECK: load i32* getelementptr inbounds ([100 x i32]* @A, i64 0, i64 0)
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%25for.cond---%25for.end.jscop?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop (removed)
@@ -1,25 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[i0] }"
- },
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[-1 + i0] }"
- },
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[13] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%25for.cond---%25for.end.jscop.transformed?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_codegen_simple___%for.cond---%for.end.jscop.transformed (removed)
@@ -1,25 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[0] }"
- },
- {
- "kind" : "read",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[-1 + i0] }"
- },
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[13] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c (removed)
@@ -1,17 +0,0 @@
-int A[100];
-int B[100];
-
-int memaccess_simple()
-{
- int i, j;
- for (i = 0; i < 12; i++) {
- A[i] = i;
- }
-
- for (i = 0; i < 12; i++) {
- B[i] = i;
- }
-
- return 0;
-}
-
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll (removed)
@@ -1,47 +0,0 @@
-;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -stats %s 2>&1 | FileCheck %s
-; ModuleID = 'memaccess_simple.ll'
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
-target triple = "i386-pc-linux-gnu"
-
- at A = common global [100 x i32] zeroinitializer, align 4
- at B = common global [100 x i32] zeroinitializer, align 4
-
-define i32 @memaccess_simple() nounwind {
-entry:
- br label %for.cond
-
-for.cond: ; preds = %for.inc, %entry
- %0 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
- %arrayidx = getelementptr [100 x i32]* @A, i32 0, i32 %0
- %exitcond1 = icmp ne i32 %0, 12
- br i1 %exitcond1, label %for.body, label %for.end
-
-for.body: ; preds = %for.cond
- store i32 %0, i32* %arrayidx
- br label %for.inc
-
-for.inc: ; preds = %for.body
- %inc = add nsw i32 %0, 1
- br label %for.cond
-
-for.end: ; preds = %for.cond
- br label %for.cond4
-
-for.cond4: ; preds = %for.inc11, %for.end
- %1 = phi i32 [ 0, %for.end ], [ %inc13, %for.inc11 ]
- %arrayidx10 = getelementptr [100 x i32]* @B, i32 0, i32 %1
- %exitcond = icmp ne i32 %1, 12
- br i1 %exitcond, label %for.body7, label %for.end14
-
-for.body7: ; preds = %for.cond4
- store i32 %1, i32* %arrayidx10
- br label %for.inc11
-
-for.inc11: ; preds = %for.body7
- %inc13 = add nsw i32 %1, 1
- br label %for.cond4
-
-for.end14: ; preds = %for.cond4
- ret i32 0
-}
-; CHECK: 2 polly-import-jscop
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond---%25for.end.jscop?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop (removed)
@@ -1,17 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[i0] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond---%25for.end.jscop.transformed?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed (removed)
@@ -1,17 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond => for.end",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body[i0] -> MemRef_A[0] }"
- }
- ],
- "domain" : "{ Stmt_for_body[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body",
- "schedule" : "{ Stmt_for_body[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond4---%25for.end14.jscop?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop (removed)
@@ -1,17 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond4 => for.end14",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body7[i0] -> MemRef_B[i0] }"
- }
- ],
- "domain" : "{ Stmt_for_body7[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body7",
- "schedule" : "{ Stmt_for_body7[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond4---%25for.end14.jscop.transformed?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed (removed)
@@ -1,17 +0,0 @@
-{
- "context" : "{ [] }",
- "name" : "for.cond4 => for.end14",
- "statements" : [
- {
- "accesses" : [
- {
- "kind" : "write",
- "relation" : "{ Stmt_for_body7[i0] -> MemRef_B[0] }"
- }
- ],
- "domain" : "{ Stmt_for_body7[i0] : i0 >= 0 and i0 <= 11 }",
- "name" : "Stmt_for_body7",
- "schedule" : "{ Stmt_for_body7[i0] -> scattering[0, i0, 0] }"
- }
- ]
-}
Removed: polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll?rev=153319&view=auto
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll (removed)
@@ -1,48 +0,0 @@
-;RUN: opt %loadPolly -polly-import-jscop -analyze -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed %s | FileCheck %s
-; ModuleID = 'memaccess_simple.ll'
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
-target triple = "i386-pc-linux-gnu"
-
- at A = common global [100 x i32] zeroinitializer, align 4
- at B = common global [100 x i32] zeroinitializer, align 4
-
-define i32 @memaccess_simple() nounwind {
-entry:
- br label %for.cond
-
-for.cond: ; preds = %for.inc, %entry
- %0 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
- %arrayidx = getelementptr [100 x i32]* @A, i32 0, i32 %0
- %exitcond1 = icmp ne i32 %0, 12
- br i1 %exitcond1, label %for.body, label %for.end
-
-for.body: ; preds = %for.cond
- store i32 %0, i32* %arrayidx
- br label %for.inc
-
-for.inc: ; preds = %for.body
- %inc = add nsw i32 %0, 1
- br label %for.cond
-
-for.end: ; preds = %for.cond
- br label %for.cond4
-
-for.cond4: ; preds = %for.inc11, %for.end
- %1 = phi i32 [ 0, %for.end ], [ %inc13, %for.inc11 ]
- %arrayidx10 = getelementptr [100 x i32]* @B, i32 0, i32 %1
- %exitcond = icmp ne i32 %1, 12
- br i1 %exitcond, label %for.body7, label %for.end14
-
-for.body7: ; preds = %for.cond4
- store i32 %1, i32* %arrayidx10
- br label %for.inc11
-
-for.inc11: ; preds = %for.body7
- %inc13 = add nsw i32 %1, 1
- br label %for.cond4
-
-for.end14: ; preds = %for.cond4
- ret i32 0
-}
-; CHECK: New access function '{ Stmt_for_body7[i0] -> MemRef_B[0] }'detected in JSCOP file
-; CHECK: New access function '{ Stmt_for_body[i0] -> MemRef_A[0] }'detected in JSCOP file
Copied: polly/trunk/test/CodeGen/MemAccess/simple.c (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple.c?p2=polly/trunk/test/CodeGen/MemAccess/simple.c&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple.c (original)
+++ polly/trunk/test/CodeGen/MemAccess/simple.c Fri Mar 23 03:24:04 2012
@@ -1,7 +1,7 @@
int A[100];
int B[100];
-int memaccess_simple()
+int simple()
{
int i, j;
for (i = 0; i < 12; i++) {
Copied: polly/trunk/test/CodeGen/MemAccess/simple.ll (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple.ll?p2=polly/trunk/test/CodeGen/MemAccess/simple.ll&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/simple.ll Fri Mar 23 03:24:04 2012
@@ -1,12 +1,12 @@
;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed -stats %s 2>&1 | FileCheck %s
-; ModuleID = 'memaccess_simple.ll'
+; ModuleID = 'simple.ll'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
@A = common global [100 x i32] zeroinitializer, align 4
@B = common global [100 x i32] zeroinitializer, align 4
-define i32 @memaccess_simple() nounwind {
+define i32 @simple() nounwind {
entry:
br label %for.cond
Copied: polly/trunk/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond---%25for.end.jscop?p2=polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond---%25for.end.jscop&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond---%25for.end.jscop&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/simple___%for.cond---%for.end.jscop.transformed (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond---%for.end.jscop.transformed)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond---%25for.end.jscop.transformed?p2=polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond---%25for.end.jscop.transformed&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond---%25for.end.jscop.transformed&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond4---%25for.end14.jscop?p2=polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond4---%25for.end14.jscop&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond4---%25for.end14.jscop&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/simple___%for.cond4---%for.end14.jscop.transformed (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%for.cond4---%for.end14.jscop.transformed)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond4---%25for.end14.jscop.transformed?p2=polly/trunk/test/CodeGen/MemAccess/simple___%25for.cond4---%25for.end14.jscop.transformed&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple___%25for.cond4---%25for.end14.jscop.transformed&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
(empty)
Copied: polly/trunk/test/CodeGen/MemAccess/simple_analyze.ll (from r153319, polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/MemAccess/simple_analyze.ll?p2=polly/trunk/test/CodeGen/MemAccess/simple_analyze.ll&p1=polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll&r1=153319&r2=153320&rev=153320&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/MemAccess/memaccess_simple_analyze.ll (original)
+++ polly/trunk/test/CodeGen/MemAccess/simple_analyze.ll Fri Mar 23 03:24:04 2012
@@ -1,12 +1,12 @@
;RUN: opt %loadPolly -polly-import-jscop -analyze -polly-import-jscop-dir=%S -polly-import-jscop-postfix=transformed %s | FileCheck %s
-; ModuleID = 'memaccess_simple.ll'
+; ModuleID = 'simple.ll'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
target triple = "i386-pc-linux-gnu"
@A = common global [100 x i32] zeroinitializer, align 4
@B = common global [100 x i32] zeroinitializer, align 4
-define i32 @memaccess_simple() nounwind {
+define i32 @simple() nounwind {
entry:
br label %for.cond
More information about the llvm-commits
mailing list