Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
1126 | might as well be consistent with the FAM code, which requires having some IR to get from the MAM (or we coul pass in the FAM, but that's more work for callers) | |
1204 | yes, but that's fine, it's only doubling this work (which shouldn't matter in expensive checks builds) we could have the module analysis fetch the hash of each function via the function hash analysis, but at that point we start mixing module and function analyses which I'd like to avoid to keep this conceptually simple and not fall into traps with cross-level analyses (and it would require changes of how we hash modules by combining function hashes rather than hashing everything one after the other, but that's not too much work) |
LG
llvm/lib/Passes/StandardInstrumentations.cpp | ||
---|---|---|
1204 | Okay, let's keep it simple for now... |
Do this outside the pass callback?