[PATCH] D135757: [LoongArch] Add emergency spill slot for GPR for large frames
wanglei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 12 20:18:15 PDT 2022
wangleiat updated this revision to Diff 467352.
wangleiat added a comment.
Unfortunately, the framesize cannot be correctly judged in `hasFP()`. It seems that we can only use multiple `addi.w/d` instructions to adjust `SP` when `FP` is eliminated.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135757/new/
https://reviews.llvm.org/D135757
Files:
llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
llvm/test/CodeGen/LoongArch/emergency-spill-slot.ll
llvm/test/CodeGen/LoongArch/frame.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135757.467352.patch
Type: text/x-patch
Size: 9658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221013/be7402a7/attachment.bin>
More information about the llvm-commits
mailing list