[PATCH] D82204: [DSE,MSSA] Treat `store 0` after calloc as noop stores.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 21 05:17:25 PDT 2020
fhahn updated this revision to Diff 272305.
fhahn marked 2 inline comments as done.
fhahn added a comment.
Use getClobberingMemoryAccess(Def) and add extra test as suggested, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82204/new/
https://reviews.llvm.org/D82204
Files:
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
llvm/test/Transforms/DeadStoreElimination/MSSA/calloc-store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82204.272305.patch
Type: text/x-patch
Size: 6573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200621/3749b706/attachment.bin>
More information about the llvm-commits
mailing list