brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.0 KiB · 8eb7e72 Raw
27 lines · plain
1; Test combined function index generation for ThinLTO via llvm-lto.2; RUN: opt -module-summary %s -o %t.o3; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o4; RUN: llvm-lto -thinlto -o %t3 %t.o %t2.o5; RUN: llvm-bcanalyzer -dump %t3.thinlto.bc | FileCheck %s --check-prefix=COMBINED6; RUN: not test -e %t37 8; COMBINED: <MODULE_STRTAB_BLOCK9; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'10; COMBINED-NEXT: <ENTRY {{.*}} record string = '{{.*}}thinlto.ll.tmp{{.*}}.o'11; COMBINED-NEXT: </MODULE_STRTAB_BLOCK12; COMBINED-NEXT: <GLOBALVAL_SUMMARY_BLOCK13; COMBINED-NEXT: <VERSION14; COMBINED-NEXT: <FLAGS15; COMBINED-NEXT: <VALUE_GUID {{.*}} op0={{1|2}} {{op1=3060885059 op2=1207956914|op1=3432075125 op2=3712786831}}16; COMBINED-NEXT: <VALUE_GUID {{.*}} op0={{1|2}} {{op1=3060885059 op2=1207956914|op1=3432075125 op2=3712786831}}17; COMBINED-NEXT: <COMBINED18; COMBINED-NEXT: <COMBINED19; COMBINED-NEXT: </GLOBALVAL_SUMMARY_BLOCK20 21target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"22 23define void @f() {24entry:25  ret void26}27