[PATCH] D42087: [DSE] Improve handling of noop stores exposed after dead interfering stores are removed

Sam Conrad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 15 14:16:12 PST 2018


sameconrad created this revision.
sameconrad added reviewers: mcrosier, bogner, efriedma.

This is an attempt to improve the handling of noop stores that are only exposed after the removal of interfering stores.  This  forces removal of noops to occur last after other deletions are complete, but should otherwise have the same semantics if the loop body exits early (ie when no def or clobbers found).


Repository:
  rL LLVM

https://reviews.llvm.org/D42087

Files:
  lib/Transforms/Scalar/DeadStoreElimination.cpp
  test/Transforms/DeadStoreElimination/late-noop.ll
  test/Transforms/DeadStoreElimination/simple.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42087.129906.patch
Type: text/x-patch
Size: 4346 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180115/64daf4a8/attachment.bin>


More information about the llvm-commits mailing list