lower-subreg.c (simple_move_operand): New static function, broken out of simple_move.
authorIan Lance Taylor <iant@google.com>
Sat, 3 Feb 2007 23:24:05 +0000 (23:24 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 3 Feb 2007 23:24:05 +0000 (23:24 +0000)
commit2b54c30fb0d5947b296e97191c4758864acfc976
treedb3f29175ce934413da3dd780817932fff7c451e
parent7fcc8dcf4ab3c136141f16251bb32124c63c2024
lower-subreg.c (simple_move_operand): New static function, broken out of simple_move.

* lower-subreg.c (simple_move_operand): New static function,
broken out of simple_move.  Reject LABEL_REF, SYMBOL_REF, and HIGH
operands.
(simple_move): Call simple_move_operand.
(find_decomposable_subregs): Add special handling of MEMs.
(can_decompose_p): Rename from cannot_decompose_p.  Reverse
meaning of return value.  If we see a hard register, test whether
it can store a word_mode value.  Change all callers.

From-SVN: r121553
gcc/ChangeLog
gcc/lower-subreg.c