[PATCH] D130250: [LoongArch] Support for varargs

Ray Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 04:43:13 PDT 2022


wangleiat created this revision.
wangleiat added reviewers: SixWeining, MaskRay, xen0n, xry111, gonglingqin.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
wangleiat requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch ensures the `$fp` always points to the bottom of the vararg
spill region.
Includes support for expand `ISD::DYNAMIC_STACKALLOC`.

Depends on D130249 <https://reviews.llvm.org/D130249>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130250

Files:
  llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
  llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
  llvm/lib/Target/LoongArch/LoongArchISelLowering.h
  llvm/test/CodeGen/LoongArch/vararg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130250.446434.patch
Type: text/x-patch
Size: 26370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220721/b08c42c9/attachment.bin>


More information about the llvm-commits mailing list