diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-01 21:28:46 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-01 21:28:46 +0000 |
commit | dec9a6b80a9a5bab1c2883bb2e1c7e735bdcb90e (patch) | |
tree | 249cc303d527362a0580a568986dea3066f5601b /gcc/reg-notes.def | |
parent | f761149f877ea0843033578c7795dec8c4ff9b6f (diff) | |
download | gcc-dec9a6b80a9a5bab1c2883bb2e1c7e735bdcb90e.tar.gz |
PR rtl-optimization/34773
* reg-notes.def (EQUAL): Mention significance of combination of
REG_EQUAL and REG_RETVAL.
* fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
insn that has a REG_RETVAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r-- | gcc/reg-notes.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def index 36953242e29..eaf04168f5f 100644 --- a/gcc/reg-notes.def +++ b/gcc/reg-notes.def @@ -52,7 +52,9 @@ REG_NOTE (EQUIV) /* Like REG_EQUIV except that the destination is only momentarily equal to the specified rtx. Therefore, it cannot be used for - substitution; but it can be used for cse. */ + substitution; but it can be used for cse. Together with a + REG_RETVAL note, it means that the insn sets the full contents of + the libcall value. */ REG_NOTE (EQUAL) /* This insn copies the return-value of a library call out of the hard |