[PATCH] D70487: Summary:[DAGCombiner] Allow zextended load combines.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 04:14:08 PST 2019


courbet created this revision.
courbet added reviewers: apilipenko, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

or(zext(load8(base)), zext(load8(base+1)) -> zext(load16 base)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70487

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70487.230228.patch
Type: text/x-patch
Size: 69781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191120/09c89940/attachment-0001.bin>


More information about the llvm-commits mailing list