diff options
author | Dylan McKay <me@dylanmckay.io> | 2017-05-02 01:57:48 +0000 |
---|---|---|
committer | Dylan McKay <me@dylanmckay.io> | 2017-05-02 01:57:48 +0000 |
commit | 28355efdada8c8a4f9829d388d413c4745168874 (patch) | |
tree | d266ff6cdc92788aec3b34644a7047973dd77efe /llvm/test/CodeGen/AVR/calling-conv/c/stack.ll | |
parent | b89c27f5150e104b8aed1b866456e2e4dc2296a3 (diff) | |
download | bcm5719-llvm-28355efdada8c8a4f9829d388d413c4745168874.tar.gz bcm5719-llvm-28355efdada8c8a4f9829d388d413c4745168874.zip |
[AVR] Save/restore the frame pointer for all functions
A recent commit I made made it so that we only did this for signal or
interrupt handlers. This broke normal functions.
llvm-svn: 301893
Diffstat (limited to 'llvm/test/CodeGen/AVR/calling-conv/c/stack.ll')
-rw-r--r-- | llvm/test/CodeGen/AVR/calling-conv/c/stack.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/AVR/calling-conv/c/stack.ll b/llvm/test/CodeGen/AVR/calling-conv/c/stack.ll index 00ff7d1acd8..52b6427476a 100644 --- a/llvm/test/CodeGen/AVR/calling-conv/c/stack.ll +++ b/llvm/test/CodeGen/AVR/calling-conv/c/stack.ll @@ -11,15 +11,15 @@ define void @ret_void_args_i64_i64_i32(i64 %a, i64 %b, i32 %c) { ; CHECK-NEXT: in r29, 62 ; Load the top two bytes from the 32-bit int. - ; CHECK-NEXT: ldd r24, Y+7 - ; CHECK-NEXT: ldd r25, Y+8 + ; CHECK-NEXT: ldd r24, Y+5 + ; CHECK-NEXT: ldd r25, Y+6 ; Store the top two bytes of the 32-bit int to memory. ; CHECK-NEXT: sts 7, r25 ; CHECK-NEXT: sts 6, r24 ; Load the bottom two bytes from the 32-bit int. - ; CHECK-NEXT: ldd r24, Y+5 - ; CHECK-NEXT: ldd r25, Y+6 + ; CHECK-NEXT: ldd r24, Y+3 + ; CHECK-NEXT: ldd r25, Y+4 ; Store the bottom two bytes of the 32-bit int to memory. ; CHECK-NEXT: sts 5, r25 ; CHECK-NEXT: sts 4, r24 |