[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
Wed Jun 3 12:56:25 PDT 2026


yxsamliu 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?
> 
> This broke all builds that were using the profiling library with the static CRT.
> 
> Given the number of issues that have come up after this landed, perhaps it's time to back it out so the project can recover?

I have a fix which recovers /MT on windows by default:

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

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


More information about the cfe-commits mailing list