diff options
Diffstat (limited to 'test/CodeGen/NVPTX/nounroll.ll')
-rw-r--r-- | test/CodeGen/NVPTX/nounroll.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/NVPTX/nounroll.ll b/test/CodeGen/NVPTX/nounroll.ll index db96d2a..e80a4a2 100644 --- a/test/CodeGen/NVPTX/nounroll.ll +++ b/test/CodeGen/NVPTX/nounroll.ll @@ -17,10 +17,10 @@ for.body: ; CHECK: .pragma "nounroll" %i.06 = phi i32 [ 0, %entry ], [ %inc, %for.body ] %idxprom = sext i32 %i.06 to i64 - %arrayidx = getelementptr inbounds float* %input, i64 %idxprom - %0 = load float* %arrayidx, align 4 + %arrayidx = getelementptr inbounds float, float* %input, i64 %idxprom + %0 = load float, float* %arrayidx, align 4 ; CHECK: ld.f32 - %arrayidx2 = getelementptr inbounds float* %output, i64 %idxprom + %arrayidx2 = getelementptr inbounds float, float* %output, i64 %idxprom store float %0, float* %arrayidx2, align 4 ; CHECK: st.f32 %inc = add nuw nsw i32 %i.06, 1 |