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 <jasonw...@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
0008-Use-simple_return-named-pattern-so-that-shirnk-wrapp.patch
Description: Binary data