[PATCH] D117180: [BasicAliasAnalysis] Switch from isMallocOrCallocLikeFn to onlyAccessesInaccessibleMemory
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 17 12:16:08 PST 2022
reames added a comment.
In D117180#3249247 <https://reviews.llvm.org/D117180#3249247>, @xbolva00 wrote:
> About calloc:
>
> https://reviews.llvm.org/rGe20b32ff3b029f50c7237f49e5e5c97bd47ea540
I don't think the conclusion reached here makes sense. On the surface, it seems like we need to tweak inaccessiblememonly to allow writes to newly allocated returned memory. Do we have a use case for the version of inaccessiblememonly which disallows that?
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