Skip to content

Commit e223023

Browse files
committed
add source mode to complex-indirect-call-chain.ll
1 parent 306e3f6 commit e223023

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

llvm/test/tools/llvm-split/SYCL/device-code-split/complex-indirect-call-chain.ll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
; Check that Module splitting can trace through more complex call stacks
22
; involving several nested indirect calls.
33

4+
;
5+
; RUN: llvm-split -sycl-split=source -S < %s -o %t
6+
; RUN: FileCheck %s -input-file=%t_0.ll --check-prefix CHECK0 \
7+
; RUN: --implicit-check-not @foo --implicit-check-not @kernel_A \
8+
; RUN: --implicit-check-not @kernel_B --implicit-check-not @baz
9+
; RUN: FileCheck %s -input-file=%t_1.ll --check-prefix CHECK1 \
10+
; RUN: --implicit-check-not @kernel_A --implicit-check-not @kernel_C
11+
; RUN: FileCheck %s -input-file=%t_2.ll --check-prefix CHECK2 \
12+
; RUN: --implicit-check-not @foo --implicit-check-not @bar \
13+
; RUN: --implicit-check-not @BAZ --implicit-check-not @kernel_B \
14+
; RUN: --implicit-check-not @kernel_C
15+
416
; RUN: llvm-split -sycl-split=kernel -S < %s -o %t
517
; RUN: FileCheck %s -input-file=%t_0.ll --check-prefix CHECK0 \
618
; RUN: --implicit-check-not @foo --implicit-check-not @kernel_A \

0 commit comments

Comments
 (0)