]> gcc.gnu.org Git - gcc.git/commit
loop-iv: Add missing calls to `onlyjump_p'
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 5 Dec 2020 18:26:24 +0000 (18:26 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 5 Dec 2020 18:26:24 +0000 (18:26 +0000)
commita2bd4e52cf710924107b08daaf3d09d7798c8022
tree81b3e6a6362ec4d8f335f321493c0e1daad39c08
parent94f336768e199bc268c30446a63b49a53b02f648
loop-iv: Add missing calls to `onlyjump_p'

Ignore jumps that have side effects in loop processing as pasting the
body of a loop multiple times within is semantically equivalent to jump
deletion (between the iterations unrolled) even if we do not physically
delete the jump RTL insn.

gcc/
* loop-iv.c (simplify_using_initial_values): Only process jumps
that match `onlyjump_p'.
(check_simple_exit): Likewise.
gcc/loop-iv.c
This page took 0.061306 seconds and 5 git commands to generate.