1; RUN: opt < %s -pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
2; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s --check-prefix=GEN
3target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
4target triple = "x86_64-unknown-linux-gnu"
5
6; GEN: $__llvm_profile_raw_version = comdat any
7; GEN: @__llvm_profile_raw_version = constant i64 {{[0-9]+}}, comdat
8; GEN: @__profn_single_bb = private constant [9 x i8] c"single_bb"
9
10define i32 @single_bb() {
11entry:
12; GEN: entry:
13; GEN: call void @llvm.instrprof.increment(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @__profn_single_bb, i32 0, i32 0), i64 12884901887, i32 1, i32 0)
14  ret i32 0
15}
16