[clang] [flang] [Flang][AMDGPU] Add rocm-path flag (PR #88190)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 13:43:49 PDT 2024


================
@@ -1340,7 +1340,8 @@ 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>,
   HelpText<"Do not link against HIP runtime libraries">;
-def rocm_path_EQ : Joined<["--"], "rocm-path=">, Group<hip_Group>,
+def rocm_path_EQ : Joined<["--"], "rocm-path=">,
+  Visibility<[FlangOption]>, Group<hip_Group>,
----------------
jhuber6 wrote:

Just making sure, but adding the explicit visibility here doesn't override the standard clang ones?

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


More information about the cfe-commits mailing list