This is the mail archive of the gcc-bugs@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]

[Bug target/58615] [SH] Optimize simple function returns


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58615

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #0)
> 
> In cases where the prologue is trivial or consists of only a few
> instructions, it would be better to return from the function directly,
> instead of branching to  the returning basic block.

I meant epilogue, not prologue.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]