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 <[email protected]>
Co-authored-by: Alexey Bader <[email protected]>
Co-authored-by: Joseph Huber <[email protected]>

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


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

Reply via email to