[all-commits] [llvm/llvm-project] d76279: [IR] Allow the 'align' param attr on vectors of po...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Jan 3 04:42:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d76279404073e676a31f592d87a2f60306a00a12
      https://github.com/llvm/llvm-project/commit/d76279404073e676a31f592d87a2f60306a00a12
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2022-01-03 (Mon, 03 Jan 2022)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/IR/Attributes.cpp
    M llvm/test/Bitcode/attributes.ll

  Log Message:
  -----------
  [IR] Allow the 'align' param attr on vectors of pointers

This patch extends the available uses of the 'align' parameter attribute
to include vectors of pointers. The attribute specifies pointer
alignment element-wise.

This change was previously requested and discussed in D87304.

The vector predication (VP) intrinsics intend to use this for scatter
and gather operations, as they lack the explicit alignment parameter
that the masked versions use.

Reviewed By: nikic

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




More information about the All-commits mailing list