brintos

brintos / llvm-project-archived public Read only

0
0
Text · 681 B · 20dd387 Raw
33 lines · plain
1; RUN: llc %s -mtriple=s390x-linux-gnu -mcpu=z10 -o - -verify-machineinstrs \2; RUN:   | FileCheck %s3 4define void @test1() #0 {5entry:6  ret void7 8; CHECK-LABEL: test1:9; CHECK: .section __mcount_loc,"a",@progbits10; CHECK: .quad .Ltmp011; CHECK: .text12; CHECK: .Ltmp0:13; CHECK: brasl %r0, __fentry__@PLT14; CHECK: br %r1415}16 17define void @test2() #1 {18entry:19  ret void20 21; CHECK-LABEL: test2:22; CHECK: .section __mcount_loc,"a",@progbits23; CHECK: .quad .Ltmp124; CHECK: .text25; CHECK: .Ltmp1:26; CHECK: .Ltmp2:27; CHECK: brcl 0, .Ltmp228; CHECK: br %r1429}30 31attributes #0 = { "fentry-call"="true" "mrecord-mcount" }32attributes #1 = { "fentry-call"="true" "mnop-mcount" "mrecord-mcount" }33