[all-commits] [llvm/llvm-project] 019130: [IR] Allow alignstack attribute on return values (...

Alex MacLean via All-commits all-commits at lists.llvm.org
Mon Mar 17 14:22:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0191307bb2583c95d6ee703588c3be1686101061
      https://github.com/llvm/llvm-project/commit/0191307bb2583c95d6ee703588c3be1686101061
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/IR/Attributes.td
    M llvm/test/CodeGen/NVPTX/param-overalign.ll

  Log Message:
  -----------
  [IR] Allow alignstack attribute on return values (#130439)

The PTX target allows an alignment to be specified on both return values
and parameters to allow for more efficient vectorized stores. Currently
we represent these parameter alignments via the "alignstack" attribute,
but must fall back to metadata for the return value. This PR allows
"alignstack" on return values as well.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list