[PATCH] D97485: PowerPC][AIX] Handle variadic vector formal arguments.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 25 09:32:42 PST 2021


sfertile created this revision.
sfertile added reviewers: cebowleratibm, ZarkoCA.
sfertile added a project: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya, nemanjai.
sfertile requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97485

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97485.326425.patch
Type: text/x-patch
Size: 26928 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210225/b75c39ba/attachment.bin>


More information about the llvm-commits mailing list