[PATCH] D27861: [DAGCombiner] Match load by bytes idiom and fold it into a single load. Attempt #2.

Artur Pilipenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 10:31:12 PST 2017


apilipenko updated this revision to Diff 83648.
apilipenko added a comment.

Address the comments, add a comment that calculateByteProvider recurses over trees, not DAGs.


https://reviews.llvm.org/D27861

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/AArch64/load-combine-big-endian.ll
  test/CodeGen/AArch64/load-combine.ll
  test/CodeGen/ARM/load-combine-big-endian.ll
  test/CodeGen/ARM/load-combine.ll
  test/CodeGen/X86/load-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27861.83648.patch
Type: text/x-patch
Size: 66825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170109/71e67deb/attachment-0001.bin>


More information about the llvm-commits mailing list