1 ; Callee1 isn't defined, propagation goes conservative
2 ; RUN: split-file %s %t
3 ; RUN: opt -thinlto-bc %t/main.ll -thin-link-bitcode-file=%t1.thinlink.bc -o %t1.bc
4 ; RUN: opt -thinlto-bc %t/callees.ll -thin-link-bitcode-file=%t2.thinlink.bc -o %t2.bc
5 ; RUN: llvm-lto2 run -disable-thinlto-funcattrs=0 %t1.bc %t2.bc -o %t.o -r %t1.bc,caller,px -r %t1.bc,callee,l -r %t1.bc,callee1,l -r %t2.bc,callee,px -save-temps
6 ; RUN: llvm-dis -o - %t.o.1.3.import.bc | FileCheck %s
9 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
10 target triple = "x86_64-unknown-linux-gnu"
12 declare void @callee()
13 declare void @callee1()
15 ; CHECK-NOT: Function Attrs:
16 ; CHECK: define void @caller()
17 define void @caller() {
24 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
25 target triple = "x86_64-unknown-linux-gnu"
27 attributes #0 = { nounwind norecurse }
29 define void @callee() #0 {