[all-commits] [llvm/llvm-project] 5c7b43: [clang][AArch32] Correctly align HA arguments when...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Mon May 10 08:29:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c7b43aa8298a389b906d72c792941a0ce57782e
      https://github.com/llvm/llvm-project/commit/5c7b43aa8298a389b906d72c792941a0ce57782e
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/arm-ha-alignstack.c
    M llvm/lib/Target/ARM/ARMCallingConv.cpp
    A llvm/test/CodeGen/ARM/ha-alignstack-call.ll
    A llvm/test/CodeGen/ARM/ha-alignstack.ll

  Log Message:
  -----------
  [clang][AArch32] Correctly align HA arguments when passed on the stack

Analogously to https://reviews.llvm.org/D98794 this patch uses the
`alignstack` attribute to fix incorrect passing of homogeneous
aggregate (HA) arguments on AArch32. The EABI/AAPCS was recently
updated to clarify how VFP co-processor candidates are aligned:
https://github.com/ARM-software/abi-aa/commit/4488e34998514dc7af5507236f279f6881eede62

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




More information about the All-commits mailing list