aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/MSP430/byval.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/MSP430/byval.ll')
-rw-r--r--test/CodeGen/MSP430/byval.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/MSP430/byval.ll b/test/CodeGen/MSP430/byval.ll
index bd38e95..410a6b0 100644
--- a/test/CodeGen/MSP430/byval.ll
+++ b/test/CodeGen/MSP430/byval.ll
@@ -10,8 +10,8 @@ define i16 @callee(%struct.Foo* byval %f) nounwind {
entry:
; CHECK-LABEL: callee:
; CHECK: mov.w 2(r1), r15
- %0 = getelementptr inbounds %struct.Foo* %f, i32 0, i32 0
- %1 = load i16* %0, align 2
+ %0 = getelementptr inbounds %struct.Foo, %struct.Foo* %f, i32 0, i32 0
+ %1 = load i16, i16* %0, align 2
ret i16 %1
}