summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/mcount-insertion.ll
blob: 04e8571d6f4bbc3db5b9735798736b77acc9cea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc < %s | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-bgq-linux"

define void @test1() #0 {
entry:
  ret void

; CHECK-LABEL: @test1
; CHECK: bl mcount
; CHECK-NOT: mcount
; CHECK: blr
}

attributes #0 = { "counting-function"="mcount" }