[clang] [Driver][NFC] Don't specify offloading model in help text for -Xarch_device/host (PR #165503)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 12:15:24 PST 2025


================
@@ -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 host compilation in 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 offloading toolchain">, MetaVarName<"<arg>">;
----------------
jhuber6 wrote:

```suggestion
  HelpText<"Pass <arg> to device compilation in the offloading toolchain">, MetaVarName<"<arg>">;
```

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


More information about the cfe-commits mailing list