[all-commits] [llvm/llvm-project] 62439d: [NVPTX] Unforce minimum alignment of 4 for byval a...

PavelKopyl via All-commits all-commits at lists.llvm.org
Mon Apr 24 15:20:34 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62439d54fecf9c08ce5dc799d1d44562da884e88
  Author: Pavel Kopyl <pavelkopyl at gmail.com>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/test/CodeGen/NVPTX/call_bitcast_byval.ll
    M llvm/test/CodeGen/NVPTX/param-align.ll

  Log Message:
  [NVPTX] Unforce minimum alignment of 4 for byval arguments of device-side functions.

Minimum alignment of 4 for byval arguments was forced to workaround
a bug in old versions of ptxas. Details: https://reviews.llvm.org/D22428.
Recent ptxas versions (> 9.0) do not seem to have this bug, so alignment
requirement was relaxed. To force again minimum alignment of 4, use
'-force-min-byval-param-align' option.

More information about the All-commits mailing list