[PATCH] D130560: [RISCV] Handle register spill in branch relaxation

Piggy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 6 00:36:33 PDT 2022


piggynl updated this revision to Diff 450486.
piggynl added a comment.

- Revise according to @StephenFan's comments.

- Fix coding style via clang-tidy.

- Move comments about calculating ScavSlotsNum closer to their codes.

- Move tests `relax_spill` in `branch-relaxation-spill-{32,64}.ll` to `relax_jal_spill_{32,64}{,_adjust_spill_slot}` in `branch-relaxation.ll`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130560/new/

https://reviews.llvm.org/D130560

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
  llvm/test/CodeGen/RISCV/branch-relaxation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130560.450486.patch
Type: text/x-patch
Size: 58467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220806/04fad8e5/attachment.bin>


More information about the llvm-commits mailing list