xref: /llvm-project/llvm/test/Transforms/EntryExitInstrumenter/mcount-aix.ll (revision 3ec57a7ed60a19c5e3e18655e19c997a469d10ec)
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
2; RUN: opt -passes="function(ee-instrument),cgscc(inline),function(ee-instrument<post-inline>)" -S < %s | FileCheck %s
3
4target triple = "powerpc-ibm-aix7.2.0.0"
5
6define void @f1() "instrument-function-entry-inlined"="__mcount" {
7; CHECK-LABEL: define void @f1() {
8; CHECK-NEXT:    call void @__mcount(ptr @[[GLOB0:[0-9]+]])
9; CHECK-NEXT:    ret void
10;
11  ret void
12}
13