mbox series

[0/2] resolve confilct between RISC-V zcmp and shrink-wrap-separate

Message ID 20230620094052.35993-1-gaofei@eswincomputing.com
Headers show
Series resolve confilct between RISC-V zcmp and shrink-wrap-separate | expand

Message

Fei Gao June 20, 2023, 9:40 a.m. UTC
These 2 patches resolve confilct between zcmp multi push/pop and
shrink-wrap-separate.

As per Kito's review comment
https://www.mail-archive.com/gcc-patches@gcc.gnu.org/msg310564.html,
I split the orginal patch into two parts: RISC-V part and
the rest part (shrink-wrap.h / shrink-wrap.cc).

Fei Gao (2):
  allow target to check shrink-wrap-separate enabled or not
  [RISC-V] resolve confilct between zcmp multi push/pop and
    shrink-wrap-separate

 gcc/config/riscv/riscv.cc | 19 ++++++++++++++++---
 gcc/shrink-wrap.cc        | 25 +++++++++++++++++--------
 gcc/shrink-wrap.h         |  1 +
 3 files changed, 34 insertions(+), 11 deletions(-)