[clang] f77ce52 - [Driver][NFC] Don't specify offloading model in help text for -Xarch_device/host (#165503)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 3 13:55:41 PST 2025
Author: jinge90
Date: 2025-11-03T21:55:38Z
New Revision: f77ce52b56d025399f489a8c0aad8c18c4b06045
URL: https://github.com/llvm/llvm-project/commit/f77ce52b56d025399f489a8c0aad8c18c4b06045
DIFF: https://github.com/llvm/llvm-project/commit/f77ce52b56d025399f489a8c0aad8c18c4b06045.diff
LOG: [Driver][NFC] Don't specify offloading model in help text for -Xarch_device/host (#165503)
Current implementation for -Xarch_device/host can work in any offloading
model besides CUDA/HIP, so remove the specific offloading model in help
text to align with implementation.
---------
Signed-off-by: jinge90 <ge.jin at intel.com>
Co-authored-by: Alexey Bader <alexey.bader at intel.com>
Co-authored-by: Joseph Huber <huberjn at outlook.com>
Added:
Modified:
clang/include/clang/Driver/Options.td
Removed:
################################################################################
diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 5cf332783cbc3..11e81e032d5fc 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -951,9 +951,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 host compilation in the offloading toolchain">, 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 device compilation in the offloading toolchain">, 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