22 lines · plain
1; REQUIRES: x86-registered-target2 3; Check that ThinLTO backend respects "SkipModuleByDistributedBackend"4; flag which can be set by indexing.5 6; RUN: opt -thinlto-bc -o %t.o %s7 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 %s11 12target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"13target triple = "x86_64-grtev4-linux-gnu"14 15; CHECK: "empty"16; CHECK: target triple =17; CHECK-NOT: @main18define i32 @main() {19entry:20 ret i32 021}22