mirror-llvm-project/clang/test/ASTSYCL
elizabethandrews 32ab88d2ba
[clang][SYCL] Set default device and host triples for SYCL device compilation (#172366)
This PR checks whether the triple specified for SYCL device compilation
is supported. If the triple is not specified, assume a default of
spirv64-unknown-unknown.

While a driver invocation does set the default triple when invoked, this
PR is required to fix a crash for cc1 invocations when an invalid/no
triple is specified.

This PR also sets HostTriple from -aux-triple to inherit host type
properties during SYCL device compilation.

Fixes https://github.com/llvm/llvm-project/issues/167358
2026-05-13 11:49:15 -04:00
..
ast-dump-sycl-kernel-call-stmt.cpp [clang][SYCL] Set default device and host triples for SYCL device compilation (#172366) 2026-05-13 11:49:15 -04:00
ast-dump-sycl-kernel-entry-point.cpp [clang][SYCL] Set default device and host triples for SYCL device compilation (#172366) 2026-05-13 11:49:15 -04:00
ast-print-sycl-kernel-call.cpp [SYCL] SYCL host kernel launch support for the sycl_kernel_entry_point attribute. (#152403) 2026-03-05 19:16:03 -05:00