[clang] [llvm] Reland HIP offload PGO compiler support and link the device-profile runtime (PR #201607)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 8 06:39:40 PDT 2026


yxsamliu wrote:

Gentle ping. The premerge checks are green, and I also did additional Windows E2E validation for both regular C++ profiling and HIP device profiling.

For regular C++ profiling, I verified the clang driver still links and runs with the base profile runtime as before. For HIP, I verified the clang driver links clang_rt.profile_rocm for device PGO and the E2E profile collection flow works on Windows.

So the driver/runtime split is preserving the normal C++ profile path while enabling the HIP-specific device profile runtime only for HIP profiling builds.

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


More information about the cfe-commits mailing list