Recommit r310809 with a fix for the spill problem
[llvm-core.git] / test / CodeGen / PowerPC / mcount-insertion.ll
blob04e8571d6f4bbc3db5b9735798736b77acc9cea2
1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-bgq-linux"
5 define void @test1() #0 {
6 entry:
7   ret void
9 ; CHECK-LABEL: @test1
10 ; CHECK: bl mcount
11 ; CHECK-NOT: mcount
12 ; CHECK: blr
15 attributes #0 = { "counting-function"="mcount" }