summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/R600/global-directive.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/R600/global-directive.ll')
-rw-r--r--llvm/test/CodeGen/R600/global-directive.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/R600/global-directive.ll b/llvm/test/CodeGen/R600/global-directive.ll
index 67ba4b6431b..be775cf9292 100644
--- a/llvm/test/CodeGen/R600/global-directive.ll
+++ b/llvm/test/CodeGen/R600/global-directive.ll
@@ -7,8 +7,8 @@
; SI: {{^}}foo:
define void @foo(i32 addrspace(1)* %out, i32 addrspace(1)* %in) {
%b_ptr = getelementptr i32, i32 addrspace(1)* %in, i32 1
- %a = load i32 addrspace(1)* %in
- %b = load i32 addrspace(1)* %b_ptr
+ %a = load i32, i32 addrspace(1)* %in
+ %b = load i32, i32 addrspace(1)* %b_ptr
%result = add i32 %a, %b
store i32 %result, i32 addrspace(1)* %out
ret void
OpenPOWER on IntegriCloud