[PATCH] D115829: Allow calls with known writes when trying to remove allocas
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 15 14:04:17 PST 2021
reames added a comment.
Note for future self: We can sink most of the logic above into MemoryLocation::getForDest, and pickup DSE of the single alloca cases for free. Would be a good cleanup to do, though needs some additional tests written. Oddly, DSE appears not to remove trivial lifetime pairs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115829/new/
https://reviews.llvm.org/D115829
More information about the llvm-commits
mailing list