[PATCH] D97956: [PowePC][AIX] Handle variadic vector call operands.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 4 08:22:18 PST 2021


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

Patch adds support for passing vector call operands 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/D97956

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97956.328182.patch
Type: text/x-patch
Size: 20789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210304/62ddc307/attachment.bin>


More information about the llvm-commits mailing list