Cleaning up of prologue/epilogue code for Mips16. First step

here is to make save/restore into variable number of argument instructions.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reed Kotler
2013-12-08 16:51:52 +00:00
parent 7c4342e90b
commit c9ea75ee5b
8 changed files with 59 additions and 39 deletions

View File

@@ -6,7 +6,7 @@
define i32 @main() {
; 16-LABEL: main:
; 16: .cfi_startproc
; 16: save $ra, $s0, $s1, $s2, 40
; 16: save $ra, $16, $17, $18, 40
; 16: .cfi_def_cfa_offset 40
; 16: .cfi_offset 18, -8
; 16: .cfi_offset 17, -12