summaryrefslogtreecommitdiffstats
path: root/polly/test/Isl/CodeGen/OpenMP
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/Isl/CodeGen/OpenMP')
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll2
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll8
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll10
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll2
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll2
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/single_loop.ll4
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll2
-rw-r--r--polly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll2
10 files changed, 20 insertions, 20 deletions
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll
index 936a790d443..fb3af7b4079 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-iv.ll
@@ -27,7 +27,7 @@ for.i:
for.j:
%indvar.j = phi i64 [ %indvar.j.next, %for.j], [ 0, %for.i ]
%sum = add i64 %indvar.j, %indvar.i
- %scevgep = getelementptr [1024 x float]* @A, i64 0, i64 %sum
+ %scevgep = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %sum
store float 0.0, float *%scevgep
%indvar.j.next = add i64 %indvar.j, 1
%exitcond.j = icmp slt i64 %indvar.j.next, 1024
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
index 85d9930da0c..b68d698f1f9 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-2.ll
@@ -6,7 +6,7 @@
; AST: for (int c0 = 0; c0 <= 1023; c0 += 1)
; AST: Stmt_for_i(c0);
-; IR: getelementptr inbounds { [1024 x double]* }* %polly.par.userContext, i32 0, i32 0
+; IR: getelementptr inbounds { [1024 x double]* }, { [1024 x double]* }* %polly.par.userContext, i32 0, i32 0
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@@ -21,7 +21,7 @@ for.cond1.preheader:
for.i:
%indvar.i = phi i64 [ %indvar.i.next, %for.i ], [ 0, %for.cond1.preheader ]
- %getelementptr = getelementptr [1024 x double]* %B, i64 %extern, i64 %indvar.i
+ %getelementptr = getelementptr [1024 x double], [1024 x double]* %B, i64 %extern, i64 %indvar.i
store double 0.000000e+00, double* %getelementptr
%indvar.i.next = add i64 %indvar.i, 1
%exitcond.i = icmp ne i64 %indvar.i.next, 1024
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
index 9678e034d98..d3e66ce232f 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll
@@ -24,9 +24,9 @@ entry:
for.body:
%indvar = phi i64 [ %indvar.next, %for.body ], [ 0, %entry ]
- %arrayidx = getelementptr inbounds i64** %tmp, i64 0
+ %arrayidx = getelementptr inbounds i64*, i64** %tmp, i64 0
%tmp1 = load i64** %arrayidx, align 8
- %arrayidx.2 = getelementptr inbounds i64* %tmp1, i64 %indvar
+ %arrayidx.2 = getelementptr inbounds i64, i64* %tmp1, i64 %indvar
store i64 1, i64* %arrayidx.2, align 4
%indvar.next = add nsw i64 %indvar, 1
%cmp = icmp slt i64 %indvar.next, %cols
@@ -48,13 +48,13 @@ end:
define void @bar(i64 %cols, i8* noalias %call) {
entry:
%tmp = bitcast i8* %call to i64**
- %arrayidx = getelementptr inbounds i64** %tmp, i64 0
+ %arrayidx = getelementptr inbounds i64*, i64** %tmp, i64 0
br label %for.body
for.body:
%indvar = phi i64 [ %indvar.next, %for.body ], [ 0, %entry ]
%tmp1 = load i64** %arrayidx, align 8
- %arrayidx.2 = getelementptr inbounds i64* %tmp1, i64 %indvar
+ %arrayidx.2 = getelementptr inbounds i64, i64* %tmp1, i64 %indvar
store i64 1, i64* %arrayidx.2, align 4
%indvar.next = add nsw i64 %indvar, 1
%cmp = icmp slt i64 %indvar.next, %cols
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
index 062f95b46ce..129c8f9140a 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values.ll
@@ -18,7 +18,7 @@
; IR-LABEL: polly.start:
; IR-NEXT: %0 = bitcast { float* }* %polly.par.userContext to i8*
; IR-NEXT: call void @llvm.lifetime.start(i64 8, i8* %0)
-; IR-NEXT: %1 = getelementptr inbounds { float* }* %polly.par.userContext, i32 0, i32 0
+; IR-NEXT: %1 = getelementptr inbounds { float* }, { float* }* %polly.par.userContext, i32 0, i32 0
; IR-NEXT: store float* %A, float** %1
; IR-NEXT: %polly.par.userContext1 = bitcast { float* }* %polly.par.userContext to i8*
@@ -35,7 +35,7 @@ for.cond: ; preds = %for.inc, %entry
for.body: ; preds = %for.cond
%conv = sitofp i64 %i.0 to float
- %arrayidx = getelementptr inbounds float* %A, i64 %i.0
+ %arrayidx = getelementptr inbounds float, float* %A, i64 %i.0
store float %conv, float* %arrayidx, align 4
br label %for.inc
diff --git a/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll b/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
index 7925ce85927..9524583a05f 100644
--- a/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/loop-bounds-reference-outer-ids.ll
@@ -26,17 +26,17 @@
; IR: %polly.par.userContext = alloca { i64, i64 }
; IR: %[[R0:[0-9]+]] = bitcast { i64, i64 }* %polly.par.userContext to i8*
; IR-NEXT: call void @llvm.lifetime.start(i64 16, i8* %[[R0]])
-; IR-NEXT: %[[R1:[0-9]+]] = getelementptr inbounds { i64, i64 }* %polly.par.userContext, i32 0, i32 0
+; IR-NEXT: %[[R1:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext, i32 0, i32 0
; IR-NEXT: store i64 %n, i64* %[[R1]]
-; IR-NEXT: %[[R2:[0-9]+]] = getelementptr inbounds { i64, i64 }* %polly.par.userContext, i32 0, i32 1
+; IR-NEXT: %[[R2:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext, i32 0, i32 1
; IR-NEXT: store i64 %polly.indvar, i64* %[[R2]]
; IR-NEXT: %polly.par.userContext1 = bitcast { i64, i64 }* %polly.par.userContext to i8*
; IR-LABEL: @loop_references_outer_ids.polly.subfn(i8* %polly.par.userContext)
; IR: %polly.par.userContext1 = bitcast i8* %polly.par.userContext to { i64, i64 }*
-; IR-NEXT: %[[R3:[0-9]+]] = getelementptr inbounds { i64, i64 }* %polly.par.userContext1, i32 0, i32 0
+; IR-NEXT: %[[R3:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext1, i32 0, i32 0
; IR-NEXT: %[[R4:[0-9]+]] = load i64* %[[R3]]
-; IR-NEXT: %[[R5:[0-9]+]] = getelementptr inbounds { i64, i64 }* %polly.par.userContext1, i32 0, i32 1
+; IR-NEXT: %[[R5:[0-9]+]] = getelementptr inbounds { i64, i64 }, { i64, i64 }* %polly.par.userContext1, i32 0, i32 1
; IR-NEXT: %[[R6:[0-9]+]] = load i64* %[[R5]]
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
@@ -73,7 +73,7 @@ for.body6: ; preds = %for.cond4
%add7 = add nsw i64 %i.0, %j.0
%add8 = add nsw i64 %add7, %k.0
%conv = sitofp i64 %add8 to float
- %arrayidx = getelementptr inbounds [100 x float]* @A, i64 0, i64 %j.0
+ %arrayidx = getelementptr inbounds [100 x float], [100 x float]* @A, i64 0, i64 %j.0
%tmp = load float* %arrayidx, align 4
%add9 = fadd float %tmp, %conv
store float %add9, float* %arrayidx, align 4
diff --git a/polly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll b/polly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll
index 934a2dd357e..4a6d63eec02 100644
--- a/polly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/reference-other-bb.ll
@@ -16,7 +16,7 @@ sw.bb3:
for.body:
%i.16 = phi i32 [ %inc04, %for.body ], [ 0, %sw.bb3 ]
%idxprom11 = sext i32 %i.16 to i64
- %arrayidx12 = getelementptr inbounds double* %tmp, i64 %idxprom11
+ %arrayidx12 = getelementptr inbounds double, double* %tmp, i64 %idxprom11
store double 1.0, double* %arrayidx12, align 8
%inc04 = add nsw i32 %i.16, 1
%cmp7 = icmp slt i32 %inc04, %sendcount
diff --git a/polly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll b/polly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll
index 8d620d439d3..82e27998e54 100644
--- a/polly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/reference-preceeding-loop.ll
@@ -37,7 +37,7 @@ for.one:
while.body:
%indvar = phi i64 [ %sub42, %while.body ], [ %i.1, %for.one ]
%sub42 = add nsw i64 %indvar, -1
- %arrayidx44 = getelementptr inbounds [258 x i64]* @cum_freq, i64 0, i64 %sub42
+ %arrayidx44 = getelementptr inbounds [258 x i64], [258 x i64]* @cum_freq, i64 0, i64 %sub42
store i64 1, i64* %arrayidx44, align 4
%cmp40 = icmp sgt i64 %sub42, 0
br i1 %cmp40, label %while.body, label %while.end
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
index 4c1cdd23340..9a1fa5d2b88 100644
--- a/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/single_loop.ll
@@ -73,7 +73,7 @@
; IR-NEXT: br label %polly.stmt.S
; IR-LABEL: polly.stmt.S:
-; IR-NEXT: %[[gep:[._a-zA-Z0-9]*]] = getelementptr [1024 x float]* {{.*}}, i64 0, i64 %polly.indvar
+; IR-NEXT: %[[gep:[._a-zA-Z0-9]*]] = getelementptr [1024 x float], [1024 x float]* {{.*}}, i64 0, i64 %polly.indvar
; IR-NEXT: store float 1.000000e+00, float* %[[gep]]
; IR-NEXT: %polly.indvar_next = add nsw i64 %polly.indvar, 1
; IR-NEXT: %polly.adjust_ub = sub i64 %polly.par.UBAdjusted, 1
@@ -101,7 +101,7 @@ entry:
for.i:
%indvar = phi i64 [ %indvar.next, %for.inc], [ 0, %entry ]
- %scevgep = getelementptr [1024 x float]* @A, i64 0, i64 %indvar
+ %scevgep = getelementptr [1024 x float], [1024 x float]* @A, i64 0, i64 %indvar
%exitcond = icmp ne i64 %indvar, 1024
br i1 %exitcond, label %S, label %exit
diff --git a/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll b/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
index 21213318b81..98fca4e65a5 100644
--- a/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/single_loop_with_loop_invariant_baseptr.ll
@@ -30,7 +30,7 @@ for.i:
S:
%ptr = load float** %A, !tbaa !2
- %scevgep = getelementptr float* %ptr, i64 %indvar
+ %scevgep = getelementptr float, float* %ptr, i64 %indvar
%val = load float* %scevgep, !tbaa !6
%sum = fadd float %val, 1.0
store float %sum, float* %scevgep, !tbaa !6
diff --git a/polly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll b/polly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
index 991b1862dce..a1f3f57455e 100644
--- a/polly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
+++ b/polly/test/Isl/CodeGen/OpenMP/two-parallel-loops-reference-outer-indvar.ll
@@ -32,7 +32,7 @@ for.cond1.preheader:
for.body35:
%j.012 = phi i64 [ %j.0, %for.body35 ], [ %j.010, %for.cond1.preheader ]
- %arrayidx39 = getelementptr inbounds [512 x double]* %R, i64 0, i64 %j.012
+ %arrayidx39 = getelementptr inbounds [512 x double], [512 x double]* %R, i64 0, i64 %j.012
store double 0.000000e+00, double* %arrayidx39
%j.0 = add nsw i64 %j.012, 1
%cmp34 = icmp slt i64 %j.0, %nj
OpenPOWER on IntegriCloud