[all-commits] [llvm/llvm-project] 3460cc: [VP] Propagate align parameter attr on VP load/sto...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Dec 7 02:25:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3460cc2585c5c94ecc296d1f48b63cba37092cae
      https://github.com/llvm/llvm-project/commit/3460cc2585c5c94ecc296d1f48b63cba37092cae
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h

  Log Message:
  -----------
  [VP] Propagate align parameter attr on VP load/store to ISel

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.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D114422




More information about the All-commits mailing list