http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58017
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #0) > > especially if the compared reg is dead after the comparison. ... and the constant is not shared with any other insn and the comparison is not in a (tight) loop. if such comparisons are found in loops, the constant load should be hoisted.