]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/thinlto-distributed.ll
Vendor import of clang trunk r338150:
[FreeBSD/FreeBSD.git] / test / CodeGen / thinlto-distributed.ll
1 ; REQUIRES: x86-registered-target
2
3 ; Trivial test for distributes ThinLTO
4
5 ; RUN: opt -thinlto-bc -o %t.o %s
6
7 ; RUN: llvm-lto2 run -thinlto-distributed-indexes %t.o \
8 ; RUN:   -o %t2.index \
9 ; RUN:   -r=%t.o,main,px
10
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.o
14
15 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
16 target triple = "x86_64-grtev4-linux-gnu"
17
18 define i32 @main() {
19 entry:
20   ret i32 0
21 }