[PATCH] D132657: [DSE] Eliminate noop store even through has clobbering between LoadI and StoreI

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 00:10:33 PDT 2022


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

Insert the skiped memorydef's clobbering memorydef to worklist.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132657

Files:
  llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
  llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
  llvm/test/Transforms/DeadStoreElimination/stores-of-existing-values.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132657.465980.patch
Type: text/x-patch
Size: 7822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/aec9f0d9/attachment.bin>


More information about the llvm-commits mailing list