diff options
Diffstat (limited to 'test/CodeGen/R600/unroll.ll')
-rw-r--r-- | test/CodeGen/R600/unroll.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/R600/unroll.ll b/test/CodeGen/R600/unroll.ll index e0035ea..ca8d822 100644 --- a/test/CodeGen/R600/unroll.ll +++ b/test/CodeGen/R600/unroll.ll @@ -20,7 +20,7 @@ loop.header: br label %loop.body loop.body: - %ptr = getelementptr [32 x i32]* %0, i32 0, i32 %counter + %ptr = getelementptr [32 x i32], [32 x i32]* %0, i32 0, i32 %counter store i32 %counter, i32* %ptr br label %loop.inc @@ -30,8 +30,8 @@ loop.inc: br i1 %1, label %exit, label %loop.header exit: - %2 = getelementptr [32 x i32]* %0, i32 0, i32 5 - %3 = load i32* %2 + %2 = getelementptr [32 x i32], [32 x i32]* %0, i32 0, i32 5 + %3 = load i32, i32* %2 store i32 %3, i32 addrspace(1)* %out ret void } |