reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the same...
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 17 Apr 2003 01:07:12 +0000 (01:07 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 17 Apr 2003 01:07:12 +0000 (01:07 +0000)
commit60fa6660d8c9099c8e4b5f1cb08cc0190952ca4e
tree734df64947b1d93b8aba3d34f7bad616eb0950ba
parente34d367d2d352f944ef2df4beea0e39e5ede02ce
reload1.c (reload_cse_noop_set_p): Return false if mode of SET_DEST is not the same as that returned by...

* reload1.c (reload_cse_noop_set_p): Return false if mode of
SET_DEST is not the same as that returned by...
* cselib.h (cselib_reg_set_mode): ... new function.
* cselib.c (cselib_reg_set_mode): Define it.
(REG_VALUES): Document semantics of first element as set mode.
(cselib_subst_to_values): Skip first element if ELT is NULL.
(cselib_lookup): Likewise.  Insert past the first element.
(cselib_invalidate_regno): NULLify first element.
(cselib_record_set): Set first element.

From-SVN: r65713
gcc/ChangeLog
gcc/cselib.c
gcc/cselib.h
gcc/reload1.c