[PATCH] D143069: [DAGCombine] Allow DAGCombine to remove dead masked stores

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 16:13:47 PST 2023


dtemirbulatov updated this revision to Diff 494462.
dtemirbulatov added a comment.

I found an error in my implementation: we could not remove the store if the chained store is a fixed type and the store we consider to remove is a scalable type, since we don't know scalable type size in the runtime. fixed.


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

https://reviews.llvm.org/D143069

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/sve-dead-masked-store.ll
  llvm/test/CodeGen/X86/masked_store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143069.494462.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230203/cdd7e807/attachment.bin>


More information about the llvm-commits mailing list