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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 08:11:16 PDT 2026


================
@@ -160,6 +164,14 @@ cl::opt<bool> SpeculativeCounterPromotionToLoop(
              " update can be further/iteratively promoted into an acyclic "
              " region."));
 
+static cl::opt<unsigned> OffloadPGOSampling(
----------------
arsenm wrote:

Can this be a pass parameter instead 

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


More information about the llvm-commits mailing list