[PATCH] D99812: [PowerPC] [GlobalISel] Implementation of formal arguments lowering in the IRTranslator for the PPC backend

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 2 12:29:52 PDT 2021


gandhi21299 created this revision.
gandhi21299 added reviewers: nemanjai, arsenm.
gandhi21299 created this object with visibility "All Users".
Herald added subscribers: shchenz, kbarton, hiraditya, rovka.
gandhi21299 requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

- `IncomingValueHandler` class which I already use for call lowering and will come in handy for further work in PPC-GlobalISel
- Incomplete implementation of a calling convention selector in PPCTargetLowering::ccAssignFnForCall, I have only implemented the amount I required for the arguments lowering but I believe more calling convention cases can be added here.
- Regression tests for arguments lowering




Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99812

Files:
  llvm/.gitignore
  llvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
  llvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-array-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-double-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-float-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-multiple-args-various-types.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-multiple-args.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-pointers-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-struct-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-vector-arg.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-with-args-notrunc.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-with-args.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99812.335009.patch
Type: text/x-patch
Size: 17389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210402/97bf5dd8/attachment.bin>


More information about the llvm-commits mailing list