aboutsummaryrefslogtreecommitdiff
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.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/MSP430/byval.ll b/test/CodeGen/MSP430/byval.ll
index 410a6b047b6e..401896b43c20 100644
--- a/test/CodeGen/MSP430/byval.ll
+++ b/test/CodeGen/MSP430/byval.ll
@@ -9,7 +9,7 @@ target triple = "msp430---elf"
define i16 @callee(%struct.Foo* byval %f) nounwind {
entry:
; CHECK-LABEL: callee:
-; CHECK: mov.w 2(r1), r15
+; CHECK: mov.w 2(r1), r12
%0 = getelementptr inbounds %struct.Foo, %struct.Foo* %f, i32 0, i32 0
%1 = load i16, i16* %0, align 2
ret i16 %1