diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-17 01:07:12 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-17 01:07:12 +0000 |
commit | 38a898c637382a0aee991ab84f5719a2f0a72a35 (patch) | |
tree | 734df64947b1d93b8aba3d34f7bad616eb0950ba /gcc/cselib.h | |
parent | 7d1146b0efae3ab6c4ba9de06c4203d6fb027cfc (diff) | |
download | gcc-38a898c637382a0aee991ab84f5719a2f0a72a35.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65713 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.h')
-rw-r--r-- | gcc/cselib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cselib.h b/gcc/cselib.h index 9cceddbfcbc..073384d85ab 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -1,6 +1,6 @@ /* Common subexpression elimination for GNU compiler. Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999 Free Software Foundation, Inc. + 1999, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -67,6 +67,7 @@ extern void cselib_update_varray_sizes PARAMS ((void)); extern void cselib_init PARAMS ((void)); extern void cselib_finish PARAMS ((void)); extern void cselib_process_insn PARAMS ((rtx)); +extern enum machine_mode cselib_reg_set_mode PARAMS ((rtx)); extern int rtx_equal_for_cselib_p PARAMS ((rtx, rtx)); extern int references_value_p PARAMS ((rtx, int)); extern rtx cselib_subst_to_values PARAMS ((rtx)); |