Re: [PATCH] Slightly optimize noreturn functions (PR target/82158)

2017-10-19 Thread Richard Biener
On October 19, 2017 9:25:10 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >The following patch, when optimizing, replaces GIMPLE_RETURN in >noreturn functions right after warning about them with >__builtin_unreachable >(). The advantage of that is that we don't emit unnecessary epilogues >for >them

[PATCH] Slightly optimize noreturn functions (PR target/82158)

2017-10-19 Thread Jakub Jelinek
Hi! The following patch, when optimizing, replaces GIMPLE_RETURN in noreturn functions right after warning about them with __builtin_unreachable (). The advantage of that is that we don't emit unnecessary epilogues for them and perhaps optimize away some other useless computations if the only sid