[clang] [HIP] Make `--no-offloadlib` not link HIP's RT and alias `--no-hip-rt` (PR #177677)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 29 06:49:21 PST 2026


================
@@ -1347,8 +1347,6 @@ def mprintf_kind_EQ : Joined<["-"], "mprintf-kind=">, Group<m_Group>,
 let Group = hip_Group in {
 def hip_link : Flag<["--"], "hip-link">, Group<opencl_Group>,
   HelpText<"Link clang-offload-bundler bundles for HIP">;
-def no_hip_rt: Flag<["-"], "no-hip-rt">, Group<hip_Group>,
----------------
jhuber6 wrote:

Changed to keep the old `no_hip_rt` behavior

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


More information about the cfe-commits mailing list