This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize subregs of zero and sign extensions (take 2)
On Wed, Jan 21, 2004 at 03:33:23PM -0700, Roger Sayle wrote:
> * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb.
> (subreg_lsb): Change to call new subreg_lsb_1 helper function.
> * rtl.h (subreg_lsb_1): Prototype here.
> * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and
> sign extensions.
Ok, except,
> + return const0_rtx;
How about CONST0_RTX (outermode)?
r~