[clang] [Driver][NFC] Show SYCL support in -Xarch_device/host help text (PR #165503)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 28 20:04:05 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: None (jinge90)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/165503.diff
1 Files Affected:
- (modified) clang/include/clang/Driver/Options.td (+2-2)
``````````diff
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 8784c9d7d206d..77a5ed67beb29 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -950,9 +950,9 @@ def Xarch__
the host system, which can be used to suppress incompatible GPU arguments.}]>,
MetaVarName<"<arch> <arg>">;
def Xarch_host : Separate<["-"], "Xarch_host">, Flags<[NoXarchOption]>,
- HelpText<"Pass <arg> to the CUDA/HIP host compilation">, MetaVarName<"<arg>">;
+ HelpText<"Pass <arg> to the CUDA/HIP/SYCL host compilation">, MetaVarName<"<arg>">;
def Xarch_device : Separate<["-"], "Xarch_device">, Flags<[NoXarchOption]>,
- HelpText<"Pass <arg> to the CUDA/HIP device compilation">, MetaVarName<"<arg>">;
+ HelpText<"Pass <arg> to the CUDA/HIP/SYCL device compilation">, MetaVarName<"<arg>">;
def Xassembler : Separate<["-"], "Xassembler">,
HelpText<"Pass <arg> to the assembler">, MetaVarName<"<arg>">,
Group<CompileOnly_Group>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/165503
More information about the cfe-commits
mailing list