[PATCH] D98101: [RISCV] Enable the LocalStackSlotAllocation pass support

LiDongjin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 27 19:24:05 PST 2022


LiDongjin updated this revision to Diff 478127.
LiDongjin added a comment.

For the failures in the llvm-testsuite, it seems some problems for Add instruction which generates wrong frame index.
Also in Arm and AArch64, No need to support for Add instruction.
Therefore load/store(exclude vector load/store) instruction is enough for LocalStackSlotAllocation pass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98101

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.h
  llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
  llvm/lib/Target/RISCV/RISCVRegisterInfo.h
  llvm/test/CodeGen/RISCV/local-stack-slot-allocation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98101.478127.patch
Type: text/x-patch
Size: 8811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/9c0c79a5/attachment.bin>


More information about the llvm-commits mailing list