1 ; RUN: opt < %s -passes=pgo-instr-gen -S | FileCheck %s
3 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-apple-macosx10.12.0"
9 ; CHECK: call void @llvm.instrprof.increment
10 ; CHECK-NOT: ptrtoint ptr asm sideeffect
11 ; CHECK-NOT: call void @llvm.instrprof.value.profile
12 ; CHECK: tail call void asm sideeffect
13 tail call void asm sideeffect "", "imr,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr undef) #0
19 ; CHECK: call void @llvm.instrprof.increment
20 ; CHECK-NOT: call void @llvm.instrprof.value.profile
21 call void (i32, ...) @foo(i32 21)
25 declare void @foo(...) #0
27 attributes #0 = { nounwind }