[clang] [llvm] [InstrProf] Fix frontend generated function hash (PR #165358)

Ellis Hoag via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 07:43:49 PDT 2025


================
@@ -734,7 +734,7 @@ void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() {
   FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC();
 
   // Reserve bit 60-63 for other information purpose.
----------------
ellishg wrote:

Let's move this comment to the definition of `FUNC_HASH_MASK`

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


More information about the cfe-commits mailing list