Re: [PATCH] Fix RTL thread_jump for doloop branches (PR rtl-optimization/89634)

2019-03-09 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > The following testcase used to be miscompiled by RTL jump threading > on s390x-linux with -march=zEC12 at -O2 before r269302 which made it latent. > The problem is we had: > (jump_insn 26 25 87 4 (parallel [ > (set (pc) > (if_then_else (e

[PATCH] Fix RTL thread_jump for doloop branches (PR rtl-optimization/89634)

2019-03-08 Thread Jakub Jelinek
Hi! The following testcase used to be miscompiled by RTL jump threading on s390x-linux with -march=zEC12 at -O2 before r269302 which made it latent. The problem is we had: (jump_insn 26 25 87 4 (parallel [ (set (pc) (if_then_else (eq (reg/v:DI 5 %r5 [orig:74 e ] [74])