22 lines · plain
1; REQUIRES: x86-registered-target2 3; Trivial test for distributes ThinLTO4 5; RUN: opt -thinlto-bc -o %t.o %s6 7; RUN: llvm-lto2 run -thinlto-distributed-indexes %t.o \8; RUN: -o %t2.index \9; RUN: -r=%t.o,main,px10 11; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \12; RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc \13; RUN: -o %t.native.o -x ir %t.o14 15target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"16target triple = "x86_64-grtev4-linux-gnu"17 18define i32 @main() {19entry:20 ret i32 021}22