[PATCH] D128188: [RISCV] Add a scavenge spill slot when use ADDI to compute scalable stack offset

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 23:32:44 PDT 2022


StephenFan updated this revision to Diff 440485.
StephenFan added a comment.

1. Drop global.
2. Remove local variable IsRVVSpill
3. Replace 'Most' with 'Max'


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128188

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.h
  llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
  llvm/test/CodeGen/RISCV/rvv/addi-rvv-stack-object.mir
  llvm/test/CodeGen/RISCV/rvv/rvv-stack-align.mir
  llvm/test/CodeGen/RISCV/rvv/scalar-stack-align.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128188.440485.patch
Type: text/x-patch
Size: 11608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220628/3275ddf8/attachment.bin>


More information about the llvm-commits mailing list