diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-02-27 19:20:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-02-27 19:20:19 +0000 |
commit | bad3ff207f68e69f36b9a1f90a29f22341e505bb (patch) | |
tree | d97ff485a8abb3f3e161417419b2f24fdce66b29 /polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll | |
parent | 218b78319277e27d8f283c85369f968ab580015b (diff) | |
download | bcm5719-llvm-bad3ff207f68e69f36b9a1f90a29f22341e505bb.tar.gz bcm5719-llvm-bad3ff207f68e69f36b9a1f90a29f22341e505bb.zip |
Update Polly tests to handle explicitly typed gep changes in LLVM
llvm-svn: 230784
Diffstat (limited to 'polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll')
-rw-r--r-- | polly/test/Isl/CodeGen/OpenMP/loop-body-references-outer-values-3.ll | 8 |
1 files changed, 4 insertions, 4 deletions
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 |