[PATCH] D137821: [LoongArch] Handle register spill in BranchRelaxation pass
Xiaodong Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 14 17:42:28 PST 2022
XiaodongLoong marked an inline comment as done.
XiaodongLoong added inline comments.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp:139
+ // Far branches over 27-bit offset require a spill slot for scratch register.
+ if (!isInt<27>(estimateFunctionSizeInBytes(TII, MF))) {
----------------
SixWeining wrote:
> beyond?
I changed it. Thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137821/new/
https://reviews.llvm.org/D137821
More information about the llvm-commits
mailing list