1 ; RUN: opt -module-summary %s -o %t1.bc
2 ; RUN: opt -module-summary %p/Inputs/pseudo-probe-desc-import.ll -o %t2.bc
3 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc %t2.bc
5 ; Don't import pseudo probe desc.
6 ; RUN: llvm-lto -thinlto-action=import %t1.bc -thinlto-index=%t.index.bc -o - | llvm-dis -o - | FileCheck %s
7 ; CHECK-NOT: {i64 6699318081062747564, i64 4294967295, !"foo"
8 ; CHECK: !{i64 -2624081020897602054, i64 281479271677951, !"main"
10 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
11 target triple = "x86_64-unknown-linux-gnu"
15 call void (...) @foo()
16 call void @llvm.pseudoprobe(i64 -2624081020897602054, i64 1, i32 0, i64 -1)
20 declare void @foo(...)
22 declare void @llvm.pseudoprobe(i64, i64, i32, i64) #0
24 attributes #0 = { inaccessiblememonly nounwind willreturn }
26 !llvm.pseudo_probe_desc = !{!0}
28 !0 = !{i64 -2624081020897602054, i64 281479271677951, !"main", null}