Debian Codegraph @

clang/test/CodeGen/distributed-thin-lto/backend-skip.ll

raw
1 ; REQUIRES: x86-registered-target
2
3 ; Check that ThinLTO backend respects "SkipModuleByDistributedBackend"
4 ; flag which can be set by indexing.
5
6 ; RUN: opt -thinlto-bc -o %t.o %s
7
8 ; RUN: %clang_cc1 -triple x86_64-grtev4-linux-gnu \
9 ; RUN: -fthinlto-index=%S/../Inputs/thinlto-distributed-backend-skip.bc \
10 ; RUN: -emit-llvm -o - -x ir %t.o | FileCheck %s
11
12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-grtev4-linux-gnu"
14
15 ; CHECK: "empty"
16 ; CHECK: target triple =
17 ; CHECK-NOT: @main
18 define i32 @main() {
19 entry:
20 ret i32 0
21 }