| Hal Finkel | 40d7f5c | 2016-09-01 09:42:39 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s | FileCheck %s |
| 2 | target datalayout = "E-m:e-i64:64-n32:64" | ||||
| 3 | target triple = "powerpc64-bgq-linux" | ||||
| 4 | |||||
| 5 | define void @test1() #0 { | ||||
| 6 | entry: | ||||
| 7 | ret void | ||||
| 8 | |||||
| 9 | ; CHECK-LABEL: @test1 | ||||
| 10 | ; CHECK: bl mcount | ||||
| 11 | ; CHECK-NOT: mcount | ||||
| 12 | ; CHECK: blr | ||||
| 13 | } | ||||
| 14 | |||||
| 15 | attributes #0 = { "counting-function"="mcount" } | ||||
| 16 | |||||