Home | History | Annotate | Download | only in Mips
      1 ; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
      2 ; RUN: llc -march=mipsel -stack-alignment=32 < %s | FileCheck %s -check-prefix=A32-32
      3 ; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32
      4 ; RUN: llc -march=mips64el -mcpu=mips3 < %s | FileCheck %s -check-prefix=64
      5 ; RUN: llc -march=mips64el -mcpu=mips4 < %s | FileCheck %s -check-prefix=64
      6 ; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s -check-prefix=64
      7 ; RUN: llc -march=mips64el -mcpu=mips64 -stack-alignment=32 < %s | FileCheck %s -check-prefix=A32-64
      8 
      9 ; 32:      addiu  $sp, $sp, -8
     10 ; 64:      daddiu  $sp, $sp, -16
     11 ; A32-32:  addiu  $sp, $sp, -32
     12 ; A32-64:  daddiu  $sp, $sp, -32
     13 
     14 define i32 @foo1() #0 {
     15 entry:
     16   ret i32 14
     17 }
     18 
     19 attributes #0 = { "no-frame-pointer-elim"="true" }
     20