diff options
Diffstat (limited to 'llvm/test/CodeGen/R600/call.ll')
-rw-r--r-- | llvm/test/CodeGen/R600/call.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/R600/call.ll b/llvm/test/CodeGen/R600/call.ll index 4cc75011bf4..eb716490bb8 100644 --- a/llvm/test/CodeGen/R600/call.ll +++ b/llvm/test/CodeGen/R600/call.ll @@ -14,8 +14,8 @@ define i32 @defined_function(i32 %x) nounwind noinline { define void @test_call(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 %c = call i32 @defined_function(i32 %b) nounwind %result = add i32 %a, %c store i32 %result, i32 addrspace(1)* %out @@ -24,8 +24,8 @@ define void @test_call(i32 addrspace(1)* %out, i32 addrspace(1)* %in) { define void @test_call_external(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 %c = call i32 @external_function(i32 %b) nounwind %result = add i32 %a, %c store i32 %result, i32 addrspace(1)* %out |