diff options
Diffstat (limited to 'test/Analysis/ScopedNoAliasAA')
-rw-r--r-- | test/Analysis/ScopedNoAliasAA/basic-domains.ll | 6 | ||||
-rw-r--r-- | test/Analysis/ScopedNoAliasAA/basic.ll | 4 | ||||
-rw-r--r-- | test/Analysis/ScopedNoAliasAA/basic2.ll | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/test/Analysis/ScopedNoAliasAA/basic-domains.ll b/test/Analysis/ScopedNoAliasAA/basic-domains.ll index 7633a6dfcb4..1cb69a0cd33 100644 --- a/test/Analysis/ScopedNoAliasAA/basic-domains.ll +++ b/test/Analysis/ScopedNoAliasAA/basic-domains.ll @@ -6,15 +6,15 @@ define void @foo1(float* nocapture %a, float* nocapture readonly %c) #0 { entry: ; CHECK-LABEL: Function: foo1 %0 = load float* %c, align 4, !alias.scope !9 - %arrayidx.i = getelementptr inbounds float* %a, i64 5 + %arrayidx.i = getelementptr inbounds float, float* %a, i64 5 store float %0, float* %arrayidx.i, align 4, !noalias !6 %1 = load float* %c, align 4, !alias.scope !5 - %arrayidx.i2 = getelementptr inbounds float* %a, i64 15 + %arrayidx.i2 = getelementptr inbounds float, float* %a, i64 15 store float %1, float* %arrayidx.i2, align 4, !noalias !6 %2 = load float* %c, align 4, !alias.scope !6 - %arrayidx.i3 = getelementptr inbounds float* %a, i64 16 + %arrayidx.i3 = getelementptr inbounds float, float* %a, i64 16 store float %2, float* %arrayidx.i3, align 4, !noalias !5 ret void diff --git a/test/Analysis/ScopedNoAliasAA/basic.ll b/test/Analysis/ScopedNoAliasAA/basic.ll index bb232b5b6cb..cc2641338ad 100644 --- a/test/Analysis/ScopedNoAliasAA/basic.ll +++ b/test/Analysis/ScopedNoAliasAA/basic.ll @@ -6,10 +6,10 @@ define void @foo1(float* nocapture %a, float* nocapture readonly %c) #0 { entry: ; CHECK-LABEL: Function: foo1 %0 = load float* %c, align 4, !alias.scope !1 - %arrayidx.i = getelementptr inbounds float* %a, i64 5 + %arrayidx.i = getelementptr inbounds float, float* %a, i64 5 store float %0, float* %arrayidx.i, align 4, !noalias !1 %1 = load float* %c, align 4 - %arrayidx = getelementptr inbounds float* %a, i64 7 + %arrayidx = getelementptr inbounds float, float* %a, i64 7 store float %1, float* %arrayidx, align 4 ret void diff --git a/test/Analysis/ScopedNoAliasAA/basic2.ll b/test/Analysis/ScopedNoAliasAA/basic2.ll index a154b13d98b..ff99f66ac1c 100644 --- a/test/Analysis/ScopedNoAliasAA/basic2.ll +++ b/test/Analysis/ScopedNoAliasAA/basic2.ll @@ -6,12 +6,12 @@ define void @foo2(float* nocapture %a, float* nocapture %b, float* nocapture rea entry: ; CHECK-LABEL: Function: foo2 %0 = load float* %c, align 4, !alias.scope !0 - %arrayidx.i = getelementptr inbounds float* %a, i64 5 + %arrayidx.i = getelementptr inbounds float, float* %a, i64 5 store float %0, float* %arrayidx.i, align 4, !alias.scope !5, !noalias !4 - %arrayidx1.i = getelementptr inbounds float* %b, i64 8 + %arrayidx1.i = getelementptr inbounds float, float* %b, i64 8 store float %0, float* %arrayidx1.i, align 4, !alias.scope !0, !noalias !5 %1 = load float* %c, align 4 - %arrayidx = getelementptr inbounds float* %a, i64 7 + %arrayidx = getelementptr inbounds float, float* %a, i64 7 store float %1, float* %arrayidx, align 4 ret void |