[PATCH] D129098: [AArch64][GlobalISel] Add support for sret demotion.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 4 16:46:57 PDT 2022


aemerson created this revision.
aemerson added reviewers: paquette, arsenm, t.p.northover.
aemerson added a project: LLVM.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
Herald added a project: All.
aemerson requested review of this revision.
Herald added a subscriber: wdng.

To do this, we need to implement a target hook and make a minor change to the call lowering to demote arguments to sret if they can't be handled by calling conventions.

Fixes issue 56295


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129098

Files:
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
  llvm/lib/Target/AArch64/GISel/AArch64CallLowering.h
  llvm/test/CodeGen/AArch64/GlobalISel/call-lowering-sret-demotion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129098.442154.patch
Type: text/x-patch
Size: 5772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220704/4eed03a4/attachment.bin>


More information about the llvm-commits mailing list