[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:03:35 PDT 2025


https://github.com/jinge90 created https://github.com/llvm/llvm-project/pull/165503

None

>From 3efc034ffdc00a86a52d0636d72fc1b30d98ac70 Mon Sep 17 00:00:00 2001
From: jinge90 <ge.jin at intel.com>
Date: Wed, 29 Oct 2025 11:31:13 +0800
Subject: [PATCH] [Driver][NFC] Show SYCL support in -Xarch_device/host help
 text

Signed-off-by: jinge90 <ge.jin at intel.com>
---
 clang/include/clang/Driver/Options.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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>;



More information about the cfe-commits mailing list