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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 07:53:28 PDT 2026


jhuber6 wrote:

> As the comment in compiler-rt/lib/profile/CMakeLists.txt points out, "profile historically used the static CRT (/MT)". This PR changed it to the dynamic CRT (/MD). That's a pretty major change. Was it discussed somewhere?

Hm, I'm guessing this is collateral damage to the interceptors being used? Honestly, if that's an issue then I think it'd be fine to write our own layer internally to the HIP case. Originally I figured it was better to share this because it required Linux+Windows support.

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


More information about the cfe-commits mailing list