[llvm] [BasicBlockSections] Propose a staleness detection method, checking the func cfg node num (PR #133244)

Rahman Lavaee via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 15:14:06 PDT 2025


rlavaee wrote:

> Could you say more about the design choice here of just using node count? Looks like storing the hash of the entire CFG in some manner would me more meaningful. You don't want to be too sensitive to IR changes, so hashing the entire IR might be too much.

+1
CFG hash like [This PR](https://github.com/llvm/llvm-project/pull/84145) is much preferred.

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


More information about the llvm-commits mailing list