1; Do setup work for all below tests: generate bitcode and combined index 2; RUN: opt -module-summary %s -o %t.bc 3; RUN: opt -module-summary %p/Inputs/inlineasm.ll -o %t2.bc 4; RUN: llvm-lto -thinlto -o %t3 %t.bc %t2.bc 5 6; Attempt the import now, ensure below that file containing inline assembly 7; is not imported from. Otherwise we would need to promote its local variable 8; used in the inline assembly, which would not see the rename. 9; RUN: opt -function-import -summary-file %t3.thinlto.bc %t.bc -S 2>&1 | FileCheck %s --check-prefix=CHECK 10 11define i32 @main() #0 { 12entry: 13 %f = alloca i64, align 8 14 call void @foo(i64* %f) 15 ret i32 0 16} 17 18; CHECK: declare void @foo(i64*) 19declare void @foo(i64*) #1 20