sel-sched-ir: Add missing call 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)
commit4ec78ef4837eab9b7ce3f20d7f7b39c8a2f1e41c
tree849341c4ef855611a99fe611ab7de89fbcfa2777
parenta2bd4e52cf710924107b08daaf3d09d7798c8022
sel-sched-ir: Add missing call to `onlyjump_p'

Do not try to remove a conditional jump if it has side effects.

gcc/
* sel-sched-ir.c (maybe_tidy_empty_bb): Only try to remove a
conditional jump if `onlyjump_p'.
gcc/sel-sched-ir.c