[PATCH] D157373: [RISCV] add a compress optimization for stack inst.

lcvon via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 8 19:04:07 PDT 2023


lcvon007 added a comment.

In D157373#4568990 <https://reviews.llvm.org/D157373#4568990>, @wangpc wrote:

> Have you evaluated impact on performance? It seems we will generate more instructions to adjust stack.

It may increase  two instructions totally to help building the large immediate in prolog and epilog,  and it may see some improvement about 1%-2% in some case and some performance degradation in some cases, and I try to provide some detailed data after more testing.


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