[PATCH] D108485: [DSE] Check post-dominance for malloc+memset->calloc transform.
Alexander Kornienko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 23 09:54:36 PDT 2021
alexfh added a comment.
I think, it's the right first step, and if there's a need to make the transformation support more use cases like checking the result of malloc for null, that can be added as a separate step.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108485/new/
https://reviews.llvm.org/D108485
More information about the llvm-commits
mailing list