[PATCH] D13363: [DeadStoreElimination] Add support for DSE across blocks

Ivan Baev via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:16:40 PDT 2015


ivanbaev created this revision.
ivanbaev added reviewers: eeckstein, igor-laevsky, reames.
ivanbaev added a subscriber: llvm-commits.

We extend the search for redundant stores to predecessor blocks that
unconditionally lead to the block BB with the current store instruction.
That also includes single-block loops that unconditionally lead to BB.


http://reviews.llvm.org/D13363

Files:
  lib/Transforms/Scalar/DeadStoreElimination.cpp
  test/Transforms/DeadStoreElimination/cycle.ll
  test/Transforms/DeadStoreElimination/ifthen.ll
  test/Transforms/DeadStoreElimination/loop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13363.36285.patch
Type: text/x-patch
Size: 24098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151001/6b3da923/attachment.bin>


More information about the llvm-commits mailing list