Debian Codegraph @

clang/test/CodeGen/distributed-thin-lto/basic.ll

raw
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-p270:32:32-p271:32:32-p272:64:64-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 }