This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] nonzero bits as result of PROMOTE_FUNCTION_RETURN
- To: jakub at redhat dot com
- Subject: Re: [PATCH] nonzero bits as result of PROMOTE_FUNCTION_RETURN
- From: "David S. Miller" <davem at redhat dot com>
- Date: Mon, 6 Dec 1999 11:45:36 -0800
- CC: gcc-patches at gcc dot gnu dot org
- References: <19991130141325.Z515@mff.cuni.cz>
Date: Tue, 30 Nov 1999 14:13:25 +0100
From: Jakub Jelinek <jakub@redhat.com>
If PROMOTE_FUNCTION_RETURN is defined, then we very often can say
what bits are for sure zero, but combine does not take this into account.
This patch solves this.
...
1999-11-30 Jakub Jelinek <jakub@redhat.com>
* combine.c (check_promoted_subreg, record_promoted_value): New
functions.
(combine_instructions): Use it.
Seems reasonable, and no-one has voiced an object thus far, so
I've installed this patch.
Later,
David S. Miller
davem@redhat.com