File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
llvm/test/tools/sycl-post-link Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11; This test checks that the post-link tool does not add "llvm.used" global to
22; the output modules when splitting kernels.
33;
4- ; RUN: sycl-post-link -split=kernel -S %s -o %T/ files.table
5- ; RUN: FileCheck %s -input-file=%T/ files_0.ll
6- ; RUN: FileCheck %s -input-file=%T/ files_1.ll
4+ ; RUN: sycl-post-link -split=kernel -S %s -o %t. files.table
5+ ; RUN: FileCheck %s -input-file=%t. files_0.ll
6+ ; RUN: FileCheck %s -input-file=%t. files_1.ll
77
88target triple = "spir64-unknown-unknown-sycldevice"
99
Original file line number Diff line number Diff line change 1- ; RUN: sycl-post-link -split=kernel -symbols -S %s -o %T/ files.table
2- ; RUN: FileCheck %s -input-file=%T/ files_0.ll --check-prefixes CHECK-MODULE0,CHECK
3- ; RUN: FileCheck %s -input-file=%T/ files_1.ll --check-prefixes CHECK-MODULE1,CHECK
4- ; RUN: FileCheck %s -input-file=%T/ files_2.ll --check-prefixes CHECK-MODULE2,CHECK
5- ; RUN: FileCheck %s -input-file=%T/ files_0.sym --check-prefixes CHECK-MODULE0-TXT
6- ; RUN: FileCheck %s -input-file=%T/ files_1.sym --check-prefixes CHECK-MODULE1-TXT
7- ; RUN: FileCheck %s -input-file=%T/ files_2.sym --check-prefixes CHECK-MODULE2-TXT
1+ ; RUN: sycl-post-link -split=kernel -symbols -S %s -o %t. files.table
2+ ; RUN: FileCheck %s -input-file=%t. files_0.ll --check-prefixes CHECK-MODULE0,CHECK
3+ ; RUN: FileCheck %s -input-file=%t. files_1.ll --check-prefixes CHECK-MODULE1,CHECK
4+ ; RUN: FileCheck %s -input-file=%t. files_2.ll --check-prefixes CHECK-MODULE2,CHECK
5+ ; RUN: FileCheck %s -input-file=%t. files_0.sym --check-prefixes CHECK-MODULE0-TXT
6+ ; RUN: FileCheck %s -input-file=%t. files_1.sym --check-prefixes CHECK-MODULE1-TXT
7+ ; RUN: FileCheck %s -input-file=%t. files_2.sym --check-prefixes CHECK-MODULE2-TXT
88; ModuleID = 'one-kernel-per-module.ll'
99source_filename = "one-kernel-per-module.ll"
1010target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024"
You can’t perform that action at this time.
0 commit comments