aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/byval.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/byval.ll')
-rw-r--r--test/CodeGen/X86/byval.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/byval.ll b/test/CodeGen/X86/byval.ll
index 185eda1..f29511a 100644
--- a/test/CodeGen/X86/byval.ll
+++ b/test/CodeGen/X86/byval.ll
@@ -11,7 +11,7 @@
define i64 @f(%struct.s* byval %a) {
entry:
- %tmp2 = getelementptr %struct.s* %a, i32 0, i32 0
- %tmp3 = load i64* %tmp2, align 8
+ %tmp2 = getelementptr %struct.s, %struct.s* %a, i32 0, i32 0
+ %tmp3 = load i64, i64* %tmp2, align 8
ret i64 %tmp3
}