Re: [PATCH v3] S/390: Fix conditional returns on z196+

2018-09-24 Thread Ulrich Weigand
Ilya Leoshkevich wrote: > gcc/ChangeLog: > > 2018-09-19 Ilya Leoshkevich > > PR target/80080 > * config/s390/s390.c (s390_emit_epilogue): Do not use PARALLEL > RETURN+USE when returning via %r14. > > gcc/testsuite/ChangeLog: > > 2018-09-19 Ilya Leoshkevich > > PR

[PATCH v3] S/390: Fix conditional returns on z196+

2018-09-24 Thread Ilya Leoshkevich
S/390 epilogue ends with (parallel [(return) (use %r14)]) instead of the more usual (return) or (simple_return). This sequence is not recognized by the conditional return logic in try_optimize_cfg (). This was introduced for processors older than z196, where it is sometimes profitable to use call