annotate llvm/test/CodeGen/SPARC/empty-functions.ll @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; RUN: llc < %s -mtriple=sparc-linux-gnu | FileCheck -check-prefix=LINUX-NO-FP %s
anatofuz
parents:
diff changeset
2 ; RUN: llc < %s -mtriple=sparc-linux-gnu -frame-pointer=all | FileCheck -check-prefix=LINUX-FP %s
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 define void @func() {
anatofuz
parents:
diff changeset
5 entry:
anatofuz
parents:
diff changeset
6 unreachable
anatofuz
parents:
diff changeset
7 }
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 ; An empty function is perfectly fine on ELF.
anatofuz
parents:
diff changeset
10 ; LINUX-NO-FP: func:
anatofuz
parents:
diff changeset
11 ; LINUX-NO-FP-NEXT: .cfi_startproc
anatofuz
parents:
diff changeset
12 ; LINUX-NO-FP-NEXT: {{^}}!
anatofuz
parents:
diff changeset
13 ; LINUX-NO-FP-NEXT: {{^}}.L{{.*}}:{{$}}
anatofuz
parents:
diff changeset
14 ; LINUX-NO-FP-NEXT: .size func, .L{{.*}}-func
anatofuz
parents:
diff changeset
15 ; LINUX-NO-FP-NEXT: .cfi_endproc
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 ; A cfi directive cannot point to the end of a function.
anatofuz
parents:
diff changeset
18 ; LINUX-FP: func:
anatofuz
parents:
diff changeset
19 ; LINUX-FP-NEXT: .cfi_startproc
anatofuz
parents:
diff changeset
20 ; LINUX-FP-NEXT: {{^}}!
anatofuz
parents:
diff changeset
21 ; LINUX-FP-NEXT: save %sp, -96, %sp
anatofuz
parents:
diff changeset
22 ; LINUX-FP-NEXT: {{^}}.L{{.*}}:{{$}}
anatofuz
parents:
diff changeset
23 ; LINUX-FP-NEXT: .size func, .Lfunc_end0-func
anatofuz
parents:
diff changeset
24 ; LINUX-FP-NEXT: .cfi_endproc