[PATCH] D103009: [DSE] Eliminate memset after malloc
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 31 06:59:27 PDT 2021
nikic added a comment.
I think this should check for just `LibFunc_malloc` and nothing else. MallocLike just means an allocation function that return null on failure, and the nothrow `new` variants are considered MallocLike and not OpNewLike.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103009/new/
https://reviews.llvm.org/D103009
More information about the llvm-commits
mailing list