This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, all, It is reported that the nds32 port on trunk cannot perform shrink-wrapping optimization because there is missing named pattern "simple_return". So we define that named pattern to fix the issue. This patch was committed last week before stage 4: https://gcc.gnu.org/r219711 gcc/ChangeLog 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com> * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New. * config/nds32/nds32.md (unspec_volatile_func_return): Remove. (return_internal): New. (return): Define this named pattern. (simple_return): Define this named pattern. * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal pattern instead of unspec_volatile_func_return. (nds32_expand_epilogue_v3pop): Likewise. (nds32_can_use_return_insn): New function. Best regards, jasonwucj
Attachment:
0008-Use-simple_return-named-pattern-so-that-shirnk-wrapp.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |