[all-commits] [llvm/llvm-project] c7b6fa: [AIX] Extend int arguments to register width when ...

Sean Fertile via All-commits all-commits at lists.llvm.org
Thu Mar 5 08:50:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c7b6fa8f4b860b251e6fc5956955583b8b2a9c33
      https://github.com/llvm/llvm-project/commit/c7b6fa8f4b860b251e6fc5956955583b8b2a9c33
  Author: Chris Bowler <cebowleratibm at gmail.com>
  Date:   2020-03-05 (Thu, 05 Mar 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/aix-cc-abi.ll

  Log Message:
  -----------
  [AIX] Extend int arguments to register width when passed in stack memory.

This is a follow up to the previous patch: [AIX] Implement caller
arguments passed in stack memory.

This corrects a defect in AIX 64-bit where an i32 is written to the
stack with stw (4 bytes) rather than the expected std (8 bytes.) Integer
arguments pass on the stack as images of their register representation.

I also took the opportunity to tidy up some of the calling convention
AIX tests I added in my last commit. This patch adds the missed assembly
expected output for the stack arg int case, which would have caught this
problem.

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




More information about the All-commits mailing list