[PATCH] D158623: [RISCV] Reorder the stack frame objects.
lcvon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 19:31:20 PDT 2023
lcvon007 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:1495
+ // can be compressed(C.ADDI16SP, offset can be [-512, 496]), but
+ // addi sp, sp, 512 can not be compressed. so try to use 496 firstly.
+ // RVCompressLen - StackAlign = 512 - 16 = 496, it satisfies the
----------------
craig.topper wrote:
> firstly -> first
done
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158623/new/
https://reviews.llvm.org/D158623
More information about the llvm-commits
mailing list