Home | History | Annotate | Download | only in cconv
      1 ; RUN: llc -march=mips < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s
      2 ; RUN: llc -march=mipsel < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s
      3 
      4 ; RUN-TODO: llc -march=mips64 -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s
      5 ; RUN-TODO: llc -march=mips64el -mattr=-n64,+o32 < %s | FileCheck --check-prefix=ALL --check-prefix=O32 %s
      6 
      7 ; RUN: llc -march=mips64 -mattr=-n64,+n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
      8 ; RUN: llc -march=mips64el -mattr=-n64,+n32 < %s | FileCheck --check-prefix=ALL --check-prefix=N32 %s
      9 
     10 ; RUN: llc -march=mips64 -mattr=-n64,+n64 < %s | FileCheck --check-prefix=ALL --check-prefix=N64 %s
     11 ; RUN: llc -march=mips64el -mattr=-n64,+n64 < %s | FileCheck --check-prefix=ALL --check-prefix=N64 %s
     12 
     13 ; Test the stack alignment for all ABI's and byte orders as specified by
     14 ; section 5 of MD00305 (MIPS ABIs Described).
     15 
     16 define void @local_bytes_1() nounwind {
     17 entry:
     18         %0 = alloca i8
     19         ret void
     20 }
     21 
     22 ; ALL-LABEL: local_bytes_1:
     23 ; O32:           addiu $sp, $sp, -8
     24 ; O32:           addiu $sp, $sp, 8
     25 ; N32:           addiu $sp, $sp, -16
     26 ; N32:           addiu $sp, $sp, 16
     27 ; N64:           addiu $sp, $sp, -16
     28 ; N64:           addiu $sp, $sp, 16
     29