github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 59409 tests passed
* 561 tests skipped
* 14 tests failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CIR/CodeGenSYCL/address-space-lang.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown    
-Wno-deprecated-attributes -fclangir -emit-cir    -mmlir 
--mlir-print-ir-before=cir-target-lowering    
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\address-space-lang.cpp.tmp.cir
 2> 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\address-space-lang.cpp.tmp.pre.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown 
-Wno-deprecated-attributes -fclangir -emit-cir -mmlir 
--mlir-print-ir-before=cir-target-lowering 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\address-space-lang.cpp.tmp.cir'
# .---redirected output from 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\address-space-lang.cpp.tmp.pre.cir'
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:39:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    39 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:38:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    38 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:38:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:44:26)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:44:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:44:26)>'
 requested here
# |    44 |   kernel_single_task<KN>([]() {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:35:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\address-space-lang.cpp:44:26)'
 to 'const char *' for 1st argument
# |    35 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | // -----// IR Dump Before TargetLowering: cir-target-lowering //----- //
# | module 
@"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CIR\\CodeGenSYCL\\address-space-lang.cpp"
 attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, 
cir.int_type_width = 32 : i32, cir.lang = #cir.lang<cxx>, cir.lowering_options 
= #cir.lowering_options<exceptions = false, threadsafe_statics = true, cuda = 
false, cuda_is_device = false, hip = false, hlsl = false, sycl_is_device = 
true, gpu_rdc = false, openmp = false, openmp_is_target_device = false, 
clang_abi_compat = 16, long_double_size = 0, enable_noundef_attrs = true, 
no_trapping_math = true, ssp_buffer_size = 8>, cir.size_type_width = 64 : i32, 
cir.target_abi = "", cir.triple = "spirv64-unknown-unknown", dlti.dl_spec = 
#dlti.dl_spec<i64 = dense<64> : vector<2xi64>, !llvm.ptr = dense<64> : 
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, 
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = 
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : 
vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = 
array<i32: 8, 16, 32, 64>, "dlti.global_memory_space" = 1 : ui64, 
!cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred = 64, index 
= 64>>} {
# | }
# | 
# | 
# | 1 error generated.
# `-----------------------------
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/call-calling-conv.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-triple spir64 -fsycl-is-device -disable-llvm-passes -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\call-calling-conv.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-triple spir64 -fsycl-is-device -disable-llvm-passes -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\call-calling-conv.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:12:45:
 error: no matching function for call to 'sycl_kernel_launch'
# |    12 | [[clang::sycl_kernel_entry_point(KN)]] void kernel(F f) { f(); }
# |       |                                             ^~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:12:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    12 | [[clang::sycl_kernel_entry_point(KN)]] void kernel(F f) { f(); }
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:12:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:21:25)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:21:14:
 note: in instantiation of function template specialization 'kernel<KN, (lambda 
at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:21:25)>'
 requested here
# |    21 | void use() { kernel<KN>([] { run(); }); }
# |       |              ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:15:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\call-calling-conv.cpp:21:25)'
 to 'const char *' for 1st argument
# |    15 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/embed-offload-object.cpp</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 7
echo -n 'FAKE_OFFLOAD_OBJECT' > 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\embed-offload-object.cpp.tmp.out
# executed command: echo -n FAKE_OFFLOAD_OBJECT
# note: command had no output on stdout or stderr
# RUN: at line 8
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-triple x86_64-unknown-linux-gnu -fsycl-is-host -fgpu-rdc    -fclangir 
-fembed-offload-object=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\embed-offload-object.cpp.tmp.out
 -emit-llvm 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp
 -o -    | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-triple x86_64-unknown-linux-gnu -fsycl-is-host -fgpu-rdc -fclangir 
'-fembed-offload-object=C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\embed-offload-object.cpp.tmp.out'
 -emit-llvm 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp'
 -o -
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:57:45:
 error: no matching function for call to 'sycl_kernel_launch'
# |    57 | [[clang::sycl_kernel_entry_point(KN)]] void kernel_entry(KT k) { 
k(); }
# |       |                                             ^~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:57:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    57 | [[clang::sycl_kernel_entry_point(KN)]] void kernel_entry(KT k) { 
k(); }
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:57:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:61:31)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:61:14:
 note: in instantiation of function template specialization 'kernel_entry<KN, 
(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:61:31)>'
 requested here
# |    61 | int main() { kernel_entry<KN>([] {}); }
# |       |              ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:54:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp:61:31)'
 to 'const char *' for 1st argument
# |    54 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  
c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\embed-offload-object.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/gpu-rdc-mangled-name.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-triple x86_64-unknown-linux-gnu -fsycl-is-host -fgpu-rdc    -fclangir 
-emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\gpu-rdc-mangled-name.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-triple x86_64-unknown-linux-gnu -fsycl-is-host -fgpu-rdc -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\gpu-rdc-mangled-name.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:32:45:
 error: no matching function for call to 'sycl_kernel_launch'
# |    32 | [[clang::sycl_kernel_entry_point(KN)]] void kernel_entry(KT k) { 
k(); }
# |       |                                             ^~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:32:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    32 | [[clang::sycl_kernel_entry_point(KN)]] void kernel_entry(KT k) { 
k(); }
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:32:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:42:20)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:42:3:
 note: in instantiation of function template specialization 'kernel_entry<KN, 
(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:42:20)>'
 requested here
# |    42 |   kernel_entry<KN>([] { (void)getValue<int>(); });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:29:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\gpu-rdc-mangled-name.cpp:42:20)'
 to 'const char *' for 1st argument
# |    29 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/kernel-call-stmt.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-host -triple x86_64-unknown-linux-gnu -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-call-stmt.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-host -triple x86_64-unknown-linux-gnu -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-call-stmt.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp:20:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    20 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp:19:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    19 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp:19:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type 'K') required 
here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp:27:15:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, K>' requested here
# |    27 | void test() { kernel_single_task<KN>(K{}); }
# |       |               ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-call-stmt.cpp:16:6:
 note: candidate function template not viable: no known conversion from 'K' to 
'const char *' for 1st argument
# |    16 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/kernel-caller-address-space.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-address-space.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-address-space.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:21:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    21 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:20:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    20 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:20:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:26:26)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:26:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:26:26)>'
 requested here
# |    26 |   kernel_single_task<KN>([p]() { *p = 42; });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:17:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:26:26)'
 to 'const char *' for 1st argument
# |    17 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:21:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    21 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:20:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    20 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:20:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<FPKN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:54:28)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:54:3:
 note: in instantiation of function template specialization 
'kernel_single_task<FPKN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:54:28)>'
 requested here
# |    54 |   kernel_single_task<FPKN>([]() { void (*fp)() = callee; fp(); });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:17:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-address-space.cpp:54:28)'
 to 'const char *' for 1st argument
# |    17 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/kernel-caller-attributes.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-attributes.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-attributes.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:22:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    22 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:21:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    21 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:21:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:27:26)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:27:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:27:26)>'
 requested here
# |    27 |   kernel_single_task<KN>([p]() { *p = 42; });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:18:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-attributes.cpp:27:26)'
 to 'const char *' for 1st argument
# |    18 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/kernel-caller-entry-point.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-entry-point.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\kernel-caller-entry-point.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:51:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    51 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:50:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    50 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:50:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type 'K') required 
here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:70:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, K>' requested here
# |    70 |   kernel_single_task<KN>(K{});
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:47:6:
 note: candidate function template not viable: no known conversion from 'K' to 
'const char *' for 1st argument
# |    47 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:66:8:
 error: no matching function for call to 'sycl_kernel_launch'
# |    66 |   void kernel_single_task(KernelType kf) { kf(); }
# |       |        ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:65:12:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    65 |   [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |            ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:65:12:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<MemberKN>' and function arguments (xvalue of type 'K') 
required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:71:13:
 note: in instantiation of function template specialization 
'Invoker::kernel_single_task<MemberKN, K>' requested here
# |    71 |   Invoker{}.kernel_single_task<MemberKN>(K{});
# |       |             ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\kernel-caller-entry-point.cpp:47:6:
 note: candidate function template not viable: no known conversion from 'K' to 
'const char *' for 1st argument
# |    47 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 2 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/lambda-capture-const.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\lambda-capture-const.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\lambda-capture-const.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:17:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    17 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:16:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    16 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:16:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN1>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:23:27)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:23:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN1, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:23:27)>'
 requested here
# |    23 |   kernel_single_task<KN1>([=]() { *out = k; });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:13:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\lambda-capture-const.cpp:23:27)'
 to 'const char *' for 1st argument
# |    13 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/nounwind.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp -o - 
 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp 
-check-prefix=CIR
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-std=c++20 -fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp' -o 
-
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:15:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    15 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:14:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    14 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:14:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:22:26)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:22:3:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:22:26)>'
 requested here
# |    22 |   kernel_single_task<KN>([p]() { *p = ext(*p); });
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:11:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:22:26)'
 to 'const char *' for 1st argument
# |    11 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 
'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp' 
-check-prefix=CIR
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp:25:9:
 error: CIR: expected string not found in input
# | // CIR: cir.func{{.*}}@_ZTS2KN(
# |         ^
# | <stdin>:1:1: note: scanning from here
# | module 
@"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CIR\\CodeGenSYCL\\nounwind.cpp"
 attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, 
cir.int_type_width = 32 : i32, cir.lang = #cir.lang<cxx>, cir.lowering_options 
= #cir.lowering_options<exceptions = false, threadsafe_statics = true, cuda = 
false, cuda_is_device = false, hip = false, hlsl = false, sycl_is_device = 
true, gpu_rdc = false, openmp = false, openmp_is_target_device = false, 
clang_abi_compat = 16, long_double_size = 0, enable_noundef_attrs = true, 
no_trapping_math = true, ssp_buffer_size = 8>, cir.size_type_width = 64 : i32, 
cir.target_abi = "", cir.triple = "spirv64-unknown-unknown", dlti.dl_spec = 
#dlti.dl_spec<i64 = dense<64> : vector<2xi64>, !llvm.ptr = dense<64> : 
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, 
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = 
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : 
vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = 
array<i32: 8, 16, 32, 64>, "dlti.global_memory_space" = 1 : ui64, 
!cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred = 64, index 
= 64>>} {
# | ^
# | <stdin>:1:105: note: possible intended match here
# | module 
@"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CIR\\CodeGenSYCL\\nounwind.cpp"
 attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, 
cir.int_type_width = 32 : i32, cir.lang = #cir.lang<cxx>, cir.lowering_options 
= #cir.lowering_options<exceptions = false, threadsafe_statics = true, cuda = 
false, cuda_is_device = false, hip = false, hlsl = false, sycl_is_device = 
true, gpu_rdc = false, openmp = false, openmp_is_target_device = false, 
clang_abi_compat = 16, long_double_size = 0, enable_noundef_attrs = true, 
no_trapping_math = true, ssp_buffer_size = 8>, cir.size_type_width = 64 : i32, 
cir.target_abi = "", cir.triple = "spirv64-unknown-unknown", dlti.dl_spec = 
#dlti.dl_spec<i64 = dense<64> : vector<2xi64>, !llvm.ptr = dense<64> : 
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, 
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = 
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : 
vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = 
array<i32: 8, 16, 32, 64>, "dlti.global_memory_space" = 1 : ui64, 
!cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred = 64, index 
= 64>>} {
# |                                                                             
                            ^
# | 
# | Input file: <stdin>
# | Check file: 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\nounwind.cpp
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: module 
@"C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CIR\\CodeGenSYCL\\nounwind.cpp"
 attributes {cir.default_tls_model = #cir.tls_model<tls_dyn>, 
cir.int_type_width = 32 : i32, cir.lang = #cir.lang<cxx>, cir.lowering_options 
= #cir.lowering_options<exceptions = false, threadsafe_statics = true, cuda = 
false, cuda_is_device = false, hip = false, hlsl = false, sycl_is_device = 
true, gpu_rdc = false, openmp = false, openmp_is_target_device = false, 
clang_abi_compat = 16, long_double_size = 0, enable_noundef_attrs = true, 
no_trapping_math = true, ssp_buffer_size = 8>, cir.size_type_width = 64 : i32, 
cir.target_abi = "", cir.triple = "spirv64-unknown-unknown", dlti.dl_spec = 
#dlti.dl_spec<i64 = dense<64> : vector<2xi64>, !llvm.ptr = dense<64> : 
vector<4xi64>, i1 = dense<8> : vector<2xi64>, i8 = dense<8> : vector<2xi64>, 
i16 = dense<16> : vector<2xi64>, i32 = dense<32> : vector<2xi64>, f16 = 
dense<16> : vector<2xi64>, f64 = dense<64> : vector<2xi64>, f128 = dense<128> : 
vector<2xi64>, "dlti.endianness" = "little", "dlti.legal_int_widths" = 
array<i32: 8, 16, 32, 64>, "dlti.global_memory_space" = 1 : ui64, 
!cir.ptr<!cir.void> = #cir.ptr_spec<size = 64, abi = 64, preferred = 64, index 
= 64>>} { 
# | check:25'0    {                                                             
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                  search range start (exclusive)
# | check:25'1                                                                  
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                  error: no match found in search range
# | check:25'2                                                                  
                                           ?                                    
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                  possible intended match
# |             2: } loc(#loc) 
# |             3: #loc = 
loc("C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CIR\\CodeGenSYCL\\nounwind.cpp":0:0)
 
# | check:25'3                                                                  
                                        } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/sycl-external.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp 
-o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-external.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-fsycl-is-device -triple spirv64-unknown-unknown -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-external.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:17:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    17 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:16:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    16 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:16:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:20:37)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:20:14:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:20:37)>'
 requested here
# |    20 | void use() { kernel_single_task<KN>([] {}); }
# |       |              ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:13:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-external.cpp:20:37)'
 to 'const char *' for 1st argument
# |    13 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/sycl-kernel-entry-point-exceptions.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-triple x86_64-linux-gnu -std=c++17 -fcxx-exceptions -fexceptions 
-fsycl-is-host -fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-kernel-entry-point-exceptions.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-triple x86_64-linux-gnu -std=c++17 -fcxx-exceptions -fexceptions 
-fsycl-is-host -fclangir -emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-kernel-entry-point-exceptions.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:32:8:
 error: no matching function for call to 'sycl_kernel_launch'
# |    32 |   void skep(KT<1> k) {
# |       |        ^~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:31:12:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    31 |   [[clang::sycl_kernel_entry_point(KN<1>)]]
# |       |            ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:31:12:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN<1>>' and function arguments (xvalue of type 'KT<1>') 
required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:30:8:
 note: candidate function template not viable: no known conversion from 'KT<1>' 
to 'const char *' for 1st argument
# |    30 |   void sycl_kernel_launch(const char *, Ts...);
# |       |        ^                  ~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:54:8:
 error: no matching function for call to 'sycl_kernel_launch'
# |    54 |   void skep(KT<2> k) noexcept {
# |       |        ^~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:53:12:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    53 |   [[clang::sycl_kernel_entry_point(KN<2>)]]
# |       |            ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:53:12:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN<2>>' and function arguments (xvalue of type 'KT<2>') 
required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:52:8:
 note: candidate function template not viable: no known conversion from 'KT<2>' 
to 'const char *' for 1st argument
# |    52 |   void sycl_kernel_launch(const char *, Ts...);
# |       |        ^                  ~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:115:8:
 error: no matching function for call to 'sycl_kernel_launch'
# |   115 |   void skep(KT<3> k) {
# |       |        ^~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:114:12:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |   114 |   [[clang::sycl_kernel_entry_point(KN<3>)]]
# |       |            ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:114:12:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN<3>>' and function arguments (xvalue of type 'KT<3>') 
required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:113:8:
 note: candidate function template not viable: no known conversion from 'KT<3>' 
to 'const char *' for 1st argument
# |   113 |   void sycl_kernel_launch(const char *, Ts...) noexcept;
# |       |        ^                  ~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:140:8:
 error: no matching function for call to 'sycl_kernel_launch'
# |   140 |   void skep(KT<4> k) noexcept {
# |       |        ^~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:139:12:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |   139 |   [[clang::sycl_kernel_entry_point(KN<4>)]]
# |       |            ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:139:12:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN<4>>' and function arguments (xvalue of type 'KT<4>') 
required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-kernel-entry-point-exceptions.cpp:138:8:
 note: candidate function template not viable: no known conversion from 'KT<4>' 
to 'const char *' for 1st argument
# |   138 |   void sycl_kernel_launch(const char *, Ts...) noexcept;
# |       |        ^                  ~~~~~~~~~~~~
# | 4 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/sycl-module-id.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-fsycl-is-device -triple spir64-unknown-unknown -disable-llvm-passes -fclangir 
-emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-module-id.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-fsycl-is-device -triple spir64-unknown-unknown -disable-llvm-passes -fclangir 
-emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\sycl-module-id.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp:18:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    18 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp:17:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    17 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp:17:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<KN>' and function arguments (xvalue of type 'K') required 
here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp:22:14:
 note: in instantiation of function template specialization 
'kernel_single_task<KN, K>' requested here
# |    22 | void use() { kernel_single_task<KN>(K{}); }
# |       |              ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\sycl-module-id.cpp:14:6:
 note: candidate function template not viable: no known conversion from 'K' to 
'const char *' for 1st argument
# |    14 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/CodeGenSYCL/unique-stable-name.cpp</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem 
C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc 
-triple x86_64-linux-gnu -fsycl-is-host    -Wno-unevaluated-expression 
-fclangir -emit-cir 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp
 -o 
C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\unique-stable-name.cpp.tmp.cir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' 
-cc1 -internal-isystem 
'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc 
-triple x86_64-linux-gnu -fsycl-is-host -Wno-unevaluated-expression -fclangir 
-emit-cir 
'C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp'
 -o 
'C:\_work\llvm-project\llvm-project\build\tools\clang\test\CIR\CodeGenSYCL\Output\unique-stable-name.cpp.tmp.cir'
# .---command stderr------------
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:33:6:
 error: no matching function for call to 'sycl_kernel_launch'
# |    33 | void kernel_single_task(KernelType kf) { kf(); }
# |       |      ^~~~~~~~~~~~~~~~~~
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:32:10:
 note: this indicates a problem with the SYCL runtime header files; please 
consider reporting this to your SYCL runtime provider
# |    32 | [[clang::sycl_kernel_entry_point(KernelName)]]
# |       |          ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:32:10:
 note: in implicit call to 'sycl_kernel_launch' with template argument 
'__sycl_kernel_info<K>' and function arguments (xvalue of type '(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:124:31)')
 required here
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:124:3:
 note: in instantiation of function template specialization 
'kernel_single_task<K, (lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:124:31)>'
 requested here
# |   124 |   kernel_single_task<class K>([] {
# |       |   ^
# | 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:29:6:
 note: candidate function template not viable: no known conversion from 
'(lambda at 
C:\_work\llvm-project\llvm-project\clang\test\CIR\CodeGenSYCL\unique-stable-name.cpp:124:31)'
 to 'const char *' for 1st argument
# |    29 | void sycl_kernel_launch(const char *, Ts...) {}
# |       |      ^                  ~~~~~~~~~~~~
# | 1 error generated.
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken 
or flaky at HEAD), please open an issue at 
https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

https://github.com/llvm/llvm-project/pull/208958
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to