[PATCH] D158384: [LoongArch] Optimize stack realignment using BSTRINS instruction
wanglei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 20 20:30:52 PDT 2023
wangleiat created this revision.
wangleiat added reviewers: SixWeining, xen0n, xry111, hev.
Herald added a subscriber: hiraditya.
Herald added a project: All.
wangleiat requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Prior to this change, stack realignment was achieved using the SRLI/SLLI
instructions in two steps. With this patch, stack realignment is
optimized using a single `BSTRINS` instruction.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158384
Files:
llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp
llvm/test/CodeGen/LoongArch/stack-realignment-with-variable-sized-objects.ll
llvm/test/CodeGen/LoongArch/stack-realignment.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158384.551887.patch
Type: text/x-patch
Size: 8308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/4169e03b/attachment.bin>
More information about the llvm-commits
mailing list