[all-commits] [llvm/llvm-project] 708dc6: [NVPTX] Fix vaarg store alignment (#127067)

Alexander Peskov via All-commits all-commits at lists.llvm.org
Fri Feb 14 09:13:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 708dc651ba8f223109879278f3dc166c7d122e2a
      https://github.com/llvm/llvm-project/commit/708dc651ba8f223109879278f3dc166c7d122e2a
  Author: Alexander Peskov <apeskov at nvidia.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/test/CodeGen/NVPTX/vaargs.ll

  Log Message:
  -----------
  [NVPTX] Fix vaarg store alignment (#127067)

There is an issue with different alignment applied to store and load of
vaargs in NVPTX backend.
Current `CodeGen/NVPTX/vaargs.ll` demonstrates this discrepancy. Store
occurs with offsets `0,4,12,20`, but load with `0,8,16,24`.

This patch attempts to unify the alignment approach for callee and
caller.



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