[PATCH] D32188: [MemoryBuiltins] Add isMallocOrCallocLikeFn so BasicAA can check for both at the same time

George Burgess IV via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 14:46:35 PDT 2017


george.burgess.iv accepted this revision.
george.burgess.iv added a comment.
This revision is now accepted and ready to land.

if we get more of these, it might make sense to surface `AllocType` so the user can directly ask for whatever kind of function they want.

for now though, this patch LGTM. thanks!


https://reviews.llvm.org/D32188





More information about the llvm-commits mailing list