diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-23 18:36:06 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-01-23 18:36:06 +0000 |
commit | a36b8b3ef67ae950c376372c425de291bdc031e0 (patch) | |
tree | f1ed9d3a3aa4c282e6afcb7e636e652eec822c8f /gcc/integrate.h | |
parent | 3837f67a55821426fb4f98a1aa061ad43c930855 (diff) | |
download | gcc-a36b8b3ef67ae950c376372c425de291bdc031e0.tar.gz |
* integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.c (expand_inline_function): Initialize them.
(subst_constants): If changing COMPARE so that both its arguments
will be VOIDmode and the comparison mode will be lost, note
compare_mode. Use the recorded compare_mode to optimize
IF_THEN_ELSE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r-- | gcc/integrate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h index 794276bd60e..51fced4d87e 100644 --- a/gcc/integrate.h +++ b/gcc/integrate.h @@ -112,6 +112,10 @@ struct inline_remap /* Record the last thing assigned to cc0. */ rtx last_cc0_value; #endif + /* Note mode of COMPARE if the mode would be otherwise lost (comparing of + two VOIDmode constants. */ + rtx compare_src; + enum machine_mode compare_mode; }; /* Return a copy of an rtx (as needed), substituting pseudo-register, |