[PATCH] D57541: [DAGCombiner] Eliminate dead stores to stack.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 6 09:17:20 PST 2019


courbet updated this revision to Diff 185575.
courbet added a comment.

- Add an explicit isIndexed() check to ignore indexed stores.
- Teach FindBetterChain to bypass unrelated lifetime nodes.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D57541

Files:
  include/llvm/CodeGen/SelectionDAG.h
  include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
  include/llvm/CodeGen/SelectionDAGNodes.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  test/CodeGen/X86/swap.ll
  test/DebugInfo/COFF/inlining.ll
  test/DebugInfo/COFF/lexicalblock.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57541.185575.patch
Type: text/x-patch
Size: 23364 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190206/c0eeec2e/attachment.bin>


More information about the llvm-commits mailing list