[llvm] [PGO] Add ProfileInjector and ProfileVerifier passes (PR #147388)

David Li via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 15:59:24 PDT 2025


================
@@ -0,0 +1,21 @@
+; Test that prof-verify does not modify existing metadata (incl. "unknown")
----------------
david-xl wrote:

Whether overriding unknown MD_prof should probably be guarded by a flag. There are cases the pass can not do a sophisticated weight propagation to infer weight for new branches, but the prof injection pass can.

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


More information about the llvm-commits mailing list