[PATCH] D128429: [LoongArch] Add initial support for function calls
Ray Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 23 05:12:58 PDT 2022
wangleiat created this revision.
wangleiat added reviewers: SixWeining, MaskRay, xen0n, xry111.
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.
Note that this is just enough for simple function call examples to
generate working code.
A good portion of this patch is the extra functions that needed to be
implemented to support the test case. e.g. storeRegToStackSlot,
loadRegFromStackSlot, eliminateFrameIndex.
Depends on D128428 <https://reviews.llvm.org/D128428>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128429
Files:
llvm/lib/Target/LoongArch/LoongArchFrameLowering.h
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
llvm/lib/Target/LoongArch/LoongArchInstrInfo.h
llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp
llvm/test/CodeGen/LoongArch/ir-instruction/call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128429.439344.patch
Type: text/x-patch
Size: 19674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220623/7a545f93/attachment.bin>
More information about the llvm-commits
mailing list