• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -march=mipsel < %s -verify-machineinstrs | FileCheck %s
2
3
4define void @tnaked() #0 {
5entry:
6  ret void
7}
8
9; CHECK: 	.ent	tnaked
10; CHECK-LABEL:          tnaked:
11; CHECK-NOT:	.frame	{{.*}}
12; CHECK-NOT:     .mask 	{{.*}}
13; CHECK-NOT:	.fmask	{{.*}}
14; CHECK-NOT:	 addiu	$sp, $sp, -8
15
16define void @tnonaked() #1 {
17entry:
18  ret void
19}
20
21; CHECK: 	.ent	tnonaked
22; CHECK-LABEL:         tnonaked:
23; CHECK:	.frame	$fp,8,$ra
24; CHECK:        .mask 	0x40000000,-4
25; CHECK:	.fmask	0x00000000,0
26; CHECK: 	addiu	$sp, $sp, -8
27
28attributes #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" }
29attributes #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" }
30