[PATCH] D134582: [LoongArch] Support lowering frames larger than 2048 bytes
Lu Weining via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 25 20:50:58 PDT 2022
SixWeining added a comment.
Had better to add some tests.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp:138
+ // The offset won't fit in an immediate, so use a scratch register instead
+ // Modify Offset and FrameReg appropriately
+ Register ScratchReg = MRI.createVirtualRegister(&LoongArch::GPRRegClass);
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134582/new/
https://reviews.llvm.org/D134582
More information about the llvm-commits
mailing list