thinlto-distributed-backend-skip.ll 562 B

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