[PATCH] D115824: [WIP] Delete dead calls whose only side effects are writes to unread allocas

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 15 12:47:32 PST 2021


reames created this revision.
Herald added subscribers: okura, kuter, kerbowa, bollu, hiraditya, nhaehnle, jvesely, mcrosier.
reames requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Not for review - causes a few odd test breakages, and I realized this should probably be in isAllocaRemovable anyways.


https://reviews.llvm.org/D115824

Files:
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/CodeGen/AMDGPU/flat-scratch.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead_2.ll
  llvm/test/Transforms/Attributor/ArgumentPromotion/sret.ll
  llvm/test/Transforms/InstCombine/trivial-dse-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115824.394642.patch
Type: text/x-patch
Size: 38214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211215/e90175aa/attachment.bin>


More information about the llvm-commits mailing list