[PATCH] D114422: [VP] Propagate align parameter attr on VP load/store to ISel

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 23 02:05:50 PST 2021


frasercrmck created this revision.
frasercrmck added reviewers: simoll, craig.topper, rogfer01.
Herald added subscribers: jdoerfert, hiraditya.
frasercrmck requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch fixes a case where the 'align' parameter attribute on the
pointer operands to llvm.vp.load and llvm.vp.store was being dropped
during the conversion to the SelectionDAG. The default alignment
equal to the ABI type alignment of the vector type was kept. It also
updates the documentation to reflect the fact that the parameter
attribute is now properly supported.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114422

Files:
  llvm/docs/LangRef.rst
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114422.389124.patch
Type: text/x-patch
Size: 6892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211123/3b7f6658/attachment.bin>


More information about the llvm-commits mailing list