diff options
Diffstat (limited to 'test/CodeGen/X86/byval2.ll')
-rw-r--r-- | test/CodeGen/X86/byval2.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/byval2.ll b/test/CodeGen/X86/byval2.ll index c5187db..cc72a86 100644 --- a/test/CodeGen/X86/byval2.ll +++ b/test/CodeGen/X86/byval2.ll @@ -31,11 +31,11 @@ define void @g(i64 %a, i64 %b, i64 %c) { entry: %d = alloca %struct.s, align 16 - %tmp = getelementptr %struct.s* %d, i32 0, i32 0 + %tmp = getelementptr %struct.s, %struct.s* %d, i32 0, i32 0 store i64 %a, i64* %tmp, align 16 - %tmp2 = getelementptr %struct.s* %d, i32 0, i32 1 + %tmp2 = getelementptr %struct.s, %struct.s* %d, i32 0, i32 1 store i64 %b, i64* %tmp2, align 16 - %tmp4 = getelementptr %struct.s* %d, i32 0, i32 2 + %tmp4 = getelementptr %struct.s, %struct.s* %d, i32 0, i32 2 store i64 %c, i64* %tmp4, align 16 call void @f( %struct.s*byval %d ) call void @f( %struct.s*byval %d ) |