[all-commits] [llvm/llvm-project] 350e0e: [flang] fix AArch64 PCS for struct following point...

David Truby via All-commits all-commits at lists.llvm.org
Tue Feb 25 08:33:43 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 350e0e2b45331279a003d3ab7c7178680e533158
      https://github.com/llvm/llvm-project/commit/350e0e2b45331279a003d3ab7c7178680e533158
  Author: David Truby <david.truby at arm.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/Target.cpp
    M flang/test/Fir/struct-passing-aarch64-byval.fir

  Log Message:
  -----------
  [flang] fix AArch64 PCS for struct following pointer (#127802)

Pointers are already handled as taking up a register in the ABI
handling, but the handling for structs was not taking this into account.
This patch changes the struct handling to acknowledge that pointer
arguments take up an integer register.

Fixes #123075

(cherry picked from commit 449f84fea652e31de418c3087d7e3628809241b4)



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