[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
Tue May 26 20:03:04 PDT 2026


================
@@ -1198,6 +1202,8 @@ int __llvm_profile_write_file(void) {
   if (rc)
     PROF_ERR("Failed to write file \"%s\": %s\n", Filename, strerror(errno));
 
+  __llvm_profile_hip_collect_device_data();
----------------
yxsamliu wrote:

will do

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


More information about the cfe-commits mailing list