[PATCH] D157373: [RISCV] add a compress optimization for stack inst.
lcvon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 06:34:21 PDT 2023
lcvon007 marked an inline comment as done.
lcvon007 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:1313
+ // be compressed.
+ if (STI.hasStdExtC()) {
+ // riscv32: c.lwsp rd, offset[7:2] => 2^(6 + 2)
----------------
craig.topper wrote:
> What about Zca?
I agree with you about Zca, and have added it yet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157373/new/
https://reviews.llvm.org/D157373
More information about the llvm-commits
mailing list