OSDN Git Service

PR 24265
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Nov 2005 19:34:39 +0000 (19:34 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Nov 2005 19:34:39 +0000 (19:34 +0000)
commit2c5cdc405b013bfaa69eb12f23c1d8391826dc3c
tree5100e811789504438417f4754074c36177d090f3
parentbf2a1b05bc8b844197b710a9182c69b4c565dd93
PR 24265
* loop-invariant.c (may_assign_reg_p): Make sure a hard register
can be assigned to.
(find_invariant_insn): Do the cheapest check, may_assign_reg_p,
before check_maybe_invariant.
(move_invariant_reg): Use gen_move_insn instead of replacing
SET_DEST with the temporary for the invariant.
(move_loop_invariants): If checking is enabled, do internal
consistency checks after completing the pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106795 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-invariant.c