[PATCH] D56719: [DAGCombine] Enable more pre-indexed stores

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 15 06:57:50 PST 2019


samparker created this revision.
samparker added reviewers: lattner, sunfish.
Herald added subscribers: arphaman, javed.absar.

The DAG combiner previously would not produce a pre-indexed store if the base pointer was a predecessor of the value being stored, so to prevent a cycle in the DAG. However, we could produce a pre-inc store if the store is final use of base pointer.


https://reviews.llvm.org/D56719

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/dsp-loop-indexing.ll
  test/CodeGen/ARM/loop-indexing.ll
  test/CodeGen/ARM/pre-inc-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56719.181777.patch
Type: text/x-patch
Size: 5182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190115/e6dc5760/attachment.bin>


More information about the llvm-commits mailing list