[clang] [compiler-rt] [llvm] [PGO][AMDGPU] Add basic HIP offload PGO support (PR #177665)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 17:52:19 PDT 2026


yxsamliu wrote:

@tstellar Thanks Tom. The offending change has been reverted by #201416, so this release build failure should be gone from main.

For the reland, I split the change to avoid affecting the normal profile runtime. The runtime half #201606 has now landed; it keeps clang_rt.profile unchanged on Windows (/MT as before) and adds a separate opt-in clang_rt.profile_rocm library for HIP device PGO. The remaining compiler/driver half is in #201607 and only links the ROCm profile library for HIP profiling builds.

With that split, LLVM’s own Windows release/PGO build should no longer hit this failure and should build the same way it did before.

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


More information about the cfe-commits mailing list