diff options
Diffstat (limited to 'polly/test/CodeGen/MemAccess/codegen_simple.ll')
-rw-r--r-- | polly/test/CodeGen/MemAccess/codegen_simple.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/polly/test/CodeGen/MemAccess/codegen_simple.ll b/polly/test/CodeGen/MemAccess/codegen_simple.ll index 21d741fb8788..0e64a6b6fbb8 100644 --- a/polly/test/CodeGen/MemAccess/codegen_simple.ll +++ b/polly/test/CodeGen/MemAccess/codegen_simple.ll @@ -1,4 +1,4 @@ -;RUN: opt -opaque-pointers=0 %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -instnamer < %s -S | FileCheck %s +;RUN: opt %loadPolly -polly-import-jscop -polly-import-jscop-postfix=transformed -polly-codegen -instnamer < %s -S | FileCheck %s ;int A[100]; ; @@ -20,16 +20,16 @@ entry: for.cond: ; preds = %for.inc, %entry %tmp1 = phi i32 [ 0, %entry ], [ %inc, %for.inc ] %tmp = add i32 %tmp1, -1 - %arrayidx4 = getelementptr [100 x i32], [100 x i32]* @A, i32 0, i32 %tmp - %arrayidx = getelementptr [100 x i32], [100 x i32]* @A, i32 0, i32 %tmp1 + %arrayidx4 = getelementptr [100 x i32], ptr @A, i32 0, i32 %tmp + %arrayidx = getelementptr [100 x i32], ptr @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, i32* %arrayidx, align 4 - %tmp5 = load i32, i32* %arrayidx4, align 4 + %tmp2 = load i32, ptr %arrayidx, align 4 + %tmp5 = load i32, ptr %arrayidx4, align 4 %add = add nsw i32 %tmp2, %tmp5 - store i32 %add, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @A, i32 0, i32 13), align 4 + store i32 %add, ptr getelementptr inbounds ([100 x i32], ptr @A, i32 0, i32 13), align 4 br label %for.inc for.inc: ; preds = %for.body @@ -39,4 +39,4 @@ for.inc: ; preds = %for.body for.end: ; preds = %for.cond ret i32 0 } -; CHECK: load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @A, i{{(32|64)}} 0, i{{(32|64)}} 0) +; CHECK: load i32, ptr @A |