summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/vector-alloca.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/R600/vector-alloca.ll')
-rw-r--r--llvm/test/CodeGen/R600/vector-alloca.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/R600/vector-alloca.ll b/llvm/test/CodeGen/R600/vector-alloca.ll
index 81441ee411e..6f3b4847fbd 100644
--- a/llvm/test/CodeGen/R600/vector-alloca.ll
+++ b/llvm/test/CodeGen/R600/vector-alloca.ll
@@ -22,7 +22,7 @@ entry:
store i32 2, i32* %z
store i32 3, i32* %w
%1 = getelementptr [4 x i32], [4 x i32]* %0, i32 0, i32 %index
- %2 = load i32* %1
+ %2 = load i32, i32* %1
store i32 %2, i32 addrspace(1)* %out
ret void
}
@@ -48,7 +48,7 @@ entry:
%1 = getelementptr [4 x i32], [4 x i32]* %0, i32 0, i32 %w_index
store i32 1, i32* %1
%2 = getelementptr [4 x i32], [4 x i32]* %0, i32 0, i32 %r_index
- %3 = load i32* %2
+ %3 = load i32, i32* %2
store i32 %3, i32 addrspace(1)* %out
ret void
}
@@ -71,7 +71,7 @@ entry:
%1 = getelementptr [4 x i32], [4 x i32]* %0, i32 0, i32 1
%2 = bitcast i32* %1 to [4 x i32]*
%3 = getelementptr [4 x i32], [4 x i32]* %2, i32 0, i32 0
- %4 = load i32* %3
+ %4 = load i32, i32* %3
store i32 %4, i32 addrspace(1)* %out
ret void
}
OpenPOWER on IntegriCloud