[PATCH] D158623: [RISCV] Reorder the stack frame objects.

lcvon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 00:50:19 PDT 2023


lcvon007 updated this revision to Diff 555294.
lcvon007 added a comment.

1. Use switch to implement isCompressibleLdOrSt
2. refine sort alorithm from sorting the whole objects into sorting each group with same alignment size.
3. use sperate map for frame index mapping.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158623

Files:
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVFrameLowering.h
  llvm/test/CodeGen/RISCV/reorder-frame-objects.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158623.555294.patch
Type: text/x-patch
Size: 28927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230901/d24c7ae6/attachment.bin>


More information about the llvm-commits mailing list