[all-commits] [llvm/llvm-project] aaeffb: [PowerPC][AIX] Handle variadic vector formal argum...

Sean Fertile via All-commits all-commits at lists.llvm.org
Thu Mar 4 07:58:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aaeffbe00736e53922e39227268d5178f8dd10be
      https://github.com/llvm/llvm-project/commit/aaeffbe00736e53922e39227268d5178f8dd10be
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCCCState.h
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    A llvm/test/CodeGen/PowerPC/aix32-vector-vararg-callee-split.ll
    A llvm/test/CodeGen/PowerPC/aix32-vector-vararg-callee.ll
    A llvm/test/CodeGen/PowerPC/aix32-vector-vararg-caller-split.ll
    A llvm/test/CodeGen/PowerPC/aix32-vector-vararg-fixed-callee.ll
    A llvm/test/CodeGen/PowerPC/aix64-vector-vararg-callee.ll
    A llvm/test/CodeGen/PowerPC/aix64-vector-vararg-fixed-callee.ll

  Log Message:
  -----------
  [PowerPC][AIX] Handle variadic vector formal arguments.

Patch adds support for passing vector arguments to variadic functions.
Arguments which are fixed shadow GPRs and stack space even when they are
passed in vector registers, while arguments passed through ellipses are
passed in(properly aligned GPRs if available and on the stack once all
GPR arguments registers are consumed.

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




More information about the All-commits mailing list