[PATCH] D136218: [DSE] Sink a memory access if it is only alive in one successor.

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 03:06:09 PST 2022


StephenFan updated this revision to Diff 478176.
StephenFan added a comment.

1. Don't bail out immediatly if has read clobber.
2. Handle the slow CFG search.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136218/new/

https://reviews.llvm.org/D136218

Files:
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/test/Transforms/DeadStoreElimination/multiblock-multipath.ll
  llvm/test/Transforms/DeadStoreElimination/multiblock-simple.ll
  llvm/test/Transforms/DeadStoreElimination/multiblock-sink.ll
  llvm/test/Transforms/DeadStoreElimination/multiblock-unreachable.ll
  llvm/test/Transforms/DeadStoreElimination/stores-of-existing-values.ll
  llvm/test/Transforms/PhaseOrdering/AArch64/mul-ov.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136218.478176.patch
Type: text/x-patch
Size: 26324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/d50e87bf/attachment.bin>


More information about the llvm-commits mailing list