[PATCH] D117180: [BasicAliasAnalysis] Switch from isMallocOrCallocLikeFn to onlyAccessesInaccessibleMemory
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 17 15:05:49 PST 2022
reames added a comment.
@Bryce-MW It's a bit more complicated than just checking existing test cases. From memory, this explains some code in both AliasAnalysis.cpp and BasicAliasAnalysis.cpp which I'd thought odd when looking through it this morning. I think the attribute change is probably worthwhile, but it will require both an RFC and a number of changes to existing code.
I can drive that. I'll wait a day or two to see if anyone remembers a strong reason for the current semantic, then work up some patches and an RFC to llvm-dev.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117180/new/
https://reviews.llvm.org/D117180
More information about the llvm-commits
mailing list