• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc %s -mtriple=s390x-linux-gnu -mcpu=z10 -o - -verify-machineinstrs \
2; RUN:   | FileCheck %s
3
4define void @test1() #0 {
5entry:
6  ret void
7
8; CHECK-LABEL: @test1
9; CHECK: brasl %r0, __fentry__
10; CHECK-NOT: brcl 0, .Ltmp0
11; CHECK: br %r14
12}
13
14define void @test2() #1 {
15entry:
16  ret void
17
18; CHECK-LABEL: @test2
19; CHECK-NOT: brasl %r0, __fentry__
20; CHECK: brcl 0, .Ltmp0
21; CHECK: br %r14
22}
23
24attributes #0 = { "fentry-call"="true" }
25attributes #1 = { "fentry-call"="true" "mnop-mcount" }
26
27