[PATCH] D130560: [RISCV] Handle register spill in branch relaxation
Piggy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 23:22:40 PDT 2022
piggynl added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:1080
+
+ if (IsLargeFunction && i == 0)
+ RVFI->setBranchRelaxationScratchFrameIndex(FI);
----------------
Do we need this `IsLargeFunction`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130560/new/
https://reviews.llvm.org/D130560
More information about the llvm-commits
mailing list