[PATCH] D71442: [X86] Check if source elements are not structures before using a uniform base for the Gather/Scatter intrinsic.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 16:30:01 PST 2019


pengfei created this revision.
pengfei added reviewers: craig.topper, c-rhodes, RKSimon.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

Structures may have flexible sized elements. So we can not use a simple VSIB to express their elements.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71442

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/test/CodeGen/X86/masked_gather.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71442.233709.patch
Type: text/x-patch
Size: 12362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191213/a48ff8ec/attachment.bin>


More information about the llvm-commits mailing list