[SH] Add simple_return pattern

Christian Bruel christian.bruel@st.com
Mon Sep 10 13:51:00 GMT 2012


This patch implements the simple_return pattern to enable -fshrink-wrap
on SH. It also clean up some redundancies for expand_epilogue (called
twice from the "return" and "epilogue" patterns and the
sh_expand_prologue parameter type.

No regressions with sh-superh-elf and sh4-linux gcc testsuites.

Thanks

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-return.patch
Type: text/x-patch
Size: 3483 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120910/0da9a03d/attachment.bin>


More information about the Gcc-patches mailing list