[PATCH] D75434: [DAGCombiner][X86] Improve narrowExtractedVectorLoad to handle cases where the element size isn't byte sized by the subvector is.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 1 21:24:13 PST 2020


craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Follow up from D75377 <https://reviews.llvm.org/D75377>. If the subvector is byte sized and the
index is aligned to the subvector size, we can shrink the load.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75434

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/X86/avx512-extract-subvector-load-store.ll
  llvm/test/CodeGen/X86/avx512-mask-op.ll
  llvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75434.247551.patch
Type: text/x-patch
Size: 15054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200302/c569ab59/attachment.bin>


More information about the llvm-commits mailing list