[PATCH] D136074: [LoongArch] Stack realignment support
wanglei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 17 19:25:50 PDT 2022
wangleiat added inline comments.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp:210-215
+ // move BP, $sp
+ BuildMI(MBB, MBBI, DL,
+ TII->get(STI.is64Bit() ? LoongArch::ADDI_D : LoongArch::ADDI_W),
+ LoongArchABI::getBPReg())
+ .addReg(SPReg)
+ .addImm(0)
----------------
xen0n wrote:
> Use `or rd, rj, zero` for LoongArch moves.
> Use `or rd, rj, zero` for LoongArch moves.
Thanks. I'll fix it right away.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136074/new/
https://reviews.llvm.org/D136074
More information about the llvm-commits
mailing list