ianlevesque added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:2871
+ if (NumGroups > 1) {
+ auto Group = llvm::MD5Hash(Fn->getName()) % NumGroups;
+ if (Group != getCodeGenOpts().ProfileSelectedFunctionGroup)
----------------
In D87953 I used crc32 to avoid computing an md5 hash on every function name.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129594/new/
https://reviews.llvm.org/D129594
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits