2017-03-09 12:19:48 +01:00
|
|
|
; RUN: llc -march=mipsel < %s -verify-machineinstrs | FileCheck %s
|
2013-05-04 01:17:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
define void @tnaked() #0 {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: .ent tnaked
|
2013-07-14 08:24:09 +02:00
|
|
|
; CHECK-LABEL: tnaked:
|
2013-05-04 01:17:24 +02:00
|
|
|
; CHECK-NOT: .frame {{.*}}
|
|
|
|
; CHECK-NOT: .mask {{.*}}
|
|
|
|
; CHECK-NOT: .fmask {{.*}}
|
|
|
|
; CHECK-NOT: addiu $sp, $sp, -8
|
|
|
|
|
|
|
|
define void @tnonaked() #1 {
|
|
|
|
entry:
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK: .ent tnonaked
|
2013-07-14 08:24:09 +02:00
|
|
|
; CHECK-LABEL: tnonaked:
|
2013-05-04 01:17:24 +02:00
|
|
|
; CHECK: .frame $fp,8,$ra
|
|
|
|
; CHECK: .mask 0x40000000,-4
|
|
|
|
; CHECK: .fmask 0x00000000,0
|
|
|
|
; CHECK: addiu $sp, $sp, -8
|
|
|
|
|
2013-08-22 23:28:54 +02:00
|
|
|
attributes #0 = { naked noinline nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
|
|
|
attributes #1 = { nounwind "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "unsafe-fp-math"="false" "use-soft-float"="false" }
|